如何生成 war 文件以在 WebLogic 中进行部署

How to generate war file for deploy in WebLogic

我是 weblogic 的新手,我正在尝试在 weblogic 中部署 war 文件 我使用 intellij-IDEA 生成 war 文件,每次我在 weblogic 中部署 war 文件时,我都会得到同样的错误

Message icon - Error Unable to access the selected application.

Message icon - Error Exception in App Merge flows' progression.

Message icon - Error Exception in App Merge flows' progression.

you can add this code in your pom.xml

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

    <modelVersion>4.0.0</modelVersion>

    <groupId>com.javacodegeeks.examples</groupId>

    <artifactId>maven-war-plugin-example</artifactId>

    <version>1.0.0-SNAPSHOT</version>

    <name>Maven war ::  example</name>

    <url>http://maven.apache.org</url>

    <packaging>war</packaging>



    <properties>

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

    </properties>



    <build>

        <plugins>

            <plugin>

                <artifactId>maven-war-plugin</artifactId>

                <version>2.6</version>

            </plugin>

       </plugins>

    </build>

</project>

谢谢你帮助我 我弄明白了。 我的 weblogic.xml 文件不完全应该是什么 在我使用 netbeans 并用它生成 weblogic.xml 文件之后 问题解决了

非常感谢你帮助我