簡體   English   中英

weblogic-maven-plugin 2.9.1

[英]weblogic-maven-plugin 2.9.1

嘗試使用weblogi-maven-plugin執行jwsc任務,但出現以下錯誤

<plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>weblogic-maven-plugin</artifactId>
            <version>2.9.1</version>
            <executions>
                <execution>
                    <phase>compile</phase>
                    <goals>
                        <goal>jwsc</goal>
                    </goals>
                    <configuration>
                        <contextPath>${basedir}/AccountInqWeb</contextPath>
                        <weblogicHome>C:/u001/isuser/tesbea</weblogicHome>
                    </configuration>
                </execution>
            </executions>
        </plugin>

無法在項目AccountInqWeb上執行目標org.codehaus.mojo:weblogic-maven-plugin:2.9.1:jwsc(默認):目標org.codehaus.mojo:weblogic-maven-plugin的執行默認值:2.9.1:jwsc失敗:執行org.codehaus.mojo:weblogic-maven-plugin:2.9.1:jwsc時缺少必需的類:weblogic / diagnostics / debug / DebugLogger


領域=插件> org.codehaus.mojo:weblogic-maven-plugin:2.9.1策略= org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls [0] =文件:/ C:/Users/darshanp/.m2/倉庫/org/codehaus/mojo/weblogic-maven-plugin/2.9.1/weblogic-maven-plugin-2.9.1.jar urls [1] =文件:/ C:/Users/darshanp/.m2/repository/org /codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar urls [2] =文件:/ C:/Users/darshanp/.m2/repository/ant/ant/1.6.5/ ant-1.6.5.jar urls [3] =文件:/ C:/Users/darshanp/.m2/repository/weblogic/weblogic/10.3/weblogic-10.3.jar urls [4] =文件:/ C:/ Users /darshanp/.m2/repository/weblogic/webservices/10.3/webservices-10.3.jar國外進口數量:1進口:進口[從領域ClassRealm [maven.api,父:null]進口]

-------------------------------------------------- ---:weblogic.diagnostics.debug.DebugLogger-> [幫助1]

首先,您必須輸入代碼作為那里的依賴項。 但是有一個您可能沒有注意到的重大錯誤,在這種情況下,取決於weblogic的版本是org.codehaus.mojo的10至12c不能與weblogic部署一起使用。 為此,您必須通過cmd /終端,直到“ wlserver_12.1 \\ server \\ lib ”並執行seguinto命令:

-java-jar-profile wljarbuilder.jar weblogic-maven-plugin

該插件具有所有設置,因此您可以使用Weblogic 100%

其次,如果這不起作用,並且您在IDE中,則netbeans嘗試執行以下命令,右鍵單擊相關性,然后在完成“下載已聲明的相關性”之后。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM