I have to build both ejb and web and m using "weglogic-maven-piugin"
goal as 'appc'.
Run the ejb and web from the parent pom.
Building ejb is successful but its fails when it's building web part. 

But i can build the ejb and the web module separately.

I attached the error log and the pom for reference

 

Deb


**********************************************************************
This message contains confidential information intended only for the use of the 
addressee(s) named above and may contain information that is legally 
privileged.  If you are not the addressee, or the person responsible for 
delivering it to the addressee, you are hereby notified that reading, 
disseminating, distributing or copying this message is strictly prohibited.  If 
you have received this message by mistake, please immediately notify us by 
replying to the message and delete the original message immediately thereafter.

Thank you.

                                   FADLD Tag
**********************************************************************
<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>fcadmin</groupId>
        <artifactId>fcadmin</artifactId>
        <version>1.0</version>
        <name>fcadminparentpom</name>
    <packaging>pom</packaging>

        <build>
                <plugins>
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>xdoclet-maven-plugin</artifactId>
                                <executions>
                                        <execution>
                                                <phase>generate-sources</phase>
                                        <goals>
                                                <goal>xdoclet</goal>
                                        </goals>
                                        <configuration>
                                        <tasks>
                                                <ejbdoclet verbose="true" 
force="true" ejbSpec="2.1" destDir="src/main/java">
                                                <packageSubstitution 
packages="ejb,beans" substituteWith="interfaces"/>
                                                <fileset 
dir="${project.build.sourceDirectory}">
                                                        <include 
name="**/*Bean*"/>
                                                        <include 
name="**/*Event*"/>
                                                </fileset>
                                                


                                                        <dataobject/>
                                                        <remoteinterface/>
                                                        <localinterface/>
                                                        <homeinterface/>
                                                        <localhomeinterface/>
                                                        <utilobject/>
                                                        <entitypk/>
                                                        <entitycmp/>

                                                        <deploymentdescriptor 
destdir="${project.build.outputDirectory}/META-INF/" 
mergedir="${project.build.outputDirectory}/META-INF/"/>
                                                        <weblogic version="6.1" 
xmlencoding="UTF-8" destdir="${project.build.outputDirectory}/META-INF/" 
validatexml="true" datasource="jdbc.FloodDB" 
mergedir="${project.build.outputDirectory}/META-INF/"/>
                                                </ejbdoclet>
                                                </tasks>
                                        </configuration>
                                        </execution>
                                </executions>
                         </plugin>

                         <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>xdoclet-maven-plugin</artifactId>
                                <executions>
                                        <execution>
                                                <phase>generate-sources</phase>
                                        <goals>
                                                <goal>xdoclet</goal>
                                        </goals>
                                <configuration>
                                        <tasks>
                                                <webdoclet force="true" 
mergedir="./merge" destdir="./docroot/WEB-INF" excludedtags="@version,@author">


                                                        <fileset 
dir="${project.build.sourceDirectory}">
                                                                <exclude 
name="**/d.waf/**" />
                                                                <include 
name="**/web/*.java" />
                                                                <include 
name="**/util/EJBUtil.java" />
                                                                <include 
name="**/servlet/ImageViewerServlet.java" />
                                                        </fileset>
                                                                
<web-deploymentdescriptor servletspec="2.4"
                                                                                
                          sessiontimeout="45">
                                                                
</web-deploymentdescriptor>
                                                                <weblogicwebxml
                                                                        
templateFile="bob.j"
                                                                />

                                                </webdoclet>
                                                <echo message="copy web.xml"/>
                                                        <copy 
todir="src/main/webapp/WEB-INF">
                                                                <fileset 
dir="./docroot/WEB-INF"/>
                                                        </copy>
                                                </tasks>

                                </configuration>
                                        </execution>
                                </executions>
                 </plugin>

                </plugins>
        </build>

        <dependencies>
                
                        <dependency>
                                <groupId>com.sun</groupId>
                                <artifactId>tools</artifactId>
                                <version>1.5.0</version>
                                <scope>system</scope>
                                <systemPath>.../tools.jar</systemPath>
                        </dependency>

                        <dependency>
                                <groupId>fds-displaytag</groupId>
                                <artifactId>displaytag-1.0-b1</artifactId>
                                <version>1.0-b1</version>
                        </dependency>

                        <dependency>
                                <groupId>fds-jstl</groupId>
                                <artifactId>jstl_1.0.2</artifactId>
                                <version>1.0.2</version>
                        </dependency>


                        <dependency>
                                <groupId>fds-struts</groupId>
                                <artifactId>struts</artifactId>
                                <version>1.1</version>
                        </dependency>

                        <dependency>
                                <groupId>fds-struts</groupId>
                                <artifactId>struts-legacy</artifactId>
                                <version>1.1</version>
                        </dependency>

                        <dependency>
                                <groupId>fds-taglibs-cache</groupId>
                                <artifactId>taglibs-cache</artifactId>
                                <version>1.1</version>
                        </dependency>

                        <dependency>
                                <groupId>fds-taglib_standard</groupId>
                                <artifactId>taglib_standard</artifactId>
                                <version>1.0</version>
                        </dependency>

                        <dependency>
                                <groupId>fds-jstl</groupId>
                                <artifactId>jstl</artifactId>
                                <version>1.0</version>
                        </dependency>

                        <dependency>
                                <groupId>fds-pager-taglib</groupId>
                                <artifactId>pager-taglib</artifactId>
                                <version>1.1</version>
                        </dependency>

                        <dependency>
                                <groupId>fds-standard</groupId>
                                <artifactId>standard</artifactId>
                                <version>1.1</version>
                        </dependency>

                        <dependency>
                                <groupId>fds-rssutils</groupId>
                                <artifactId>rssutils</artifactId>
                                <version>1.1</version>
                        </dependency>

                        <dependency>
                                <groupId>fds-saaj</groupId>
                                <artifactId>saaj</artifactId>
                                <version>1.1</version>
                        </dependency>

                        <dependency>
                                <groupId>fds-rowset</groupId>
                                <artifactId>rowset</artifactId>
                                <version>1.1</version>
                        </dependency>

                        <dependency>
                                <groupId>fds-fc_taglib</groupId>
                                <artifactId>fc_taglib</artifactId>
                                <version>1.1</version>
                        </dependency>

                        <dependency>
                                <groupId>fds-log</groupId>
                                <artifactId>log</artifactId>
                                <version>1.1</version>
                        </dependency>

                        <dependency>
                                <groupId>weblogic</groupId>
                                <artifactId>xbean</artifactId>
                                <version>9.0</version>
                        </dependency>

                        <dependency>
                                <groupId>weblogic</groupId>
                                
<artifactId>weblogic-container-binding</artifactId>
                                <version>9.0</version>
                        </dependency>

                        <dependency>
                                <groupId>weblogic</groupId>
                                <artifactId>weblogic</artifactId>
                                <version>9.0</version>
                        </dependency>

                        <dependency>
                                <groupId>weblogic</groupId>
                                <artifactId>wlw-util</artifactId>
                                <version>9.2</version>
                        </dependency>

                        <dependency>
                                <groupId>weblogic</groupId>
                                <artifactId>wlw-langx</artifactId>
                                <version>9.2</version>
                        </dependency>

                        <dependency>
                                <groupId>weblogic</groupId>
                                <artifactId>bcel</artifactId>
                                <version>9.2</version>
                        </dependency>

                        <dependency>
                                <groupId>weblogic</groupId>
                                <artifactId>javelinx</artifactId>
                                <version>9.2</version>
                        </dependency>
        </dependencies>
        <modules>
                <module>ejb</module>
                <module>web</module>
                <module>ear</module>
        </modules>

</project>
[jspc] Overriding descriptor option 'keepgenerated' with value specified on 
command-line 'true'
[jspc]  -webapp specified, searching . for JSPs
java.lang.NoClassDefFoundError: com/bea/wlw/filesystem/IFileFilter
        at weblogic.servlet.jsp.jspc20.runBodyInternal(jspc20.java:420)
        at weblogic.servlet.jsp.jspc20.runJspc(jspc20.java:195)
        at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:239)
        at 
weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:353)
        at 
weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:78)
        at 
weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
        at 
weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
        at 
weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
        at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
        at 
weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
        at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
        at weblogic.application.compiler.Appc.runBody(Appc.java:163)
        at weblogic.utils.compiler.Tool.run(Tool.java:158)
        at weblogic.utils.compiler.Tool.run(Tool.java:115)
        at weblogic.application.compiler.Appc.main(Appc.java:174)
        at weblogic.appc.main(appc.java:14)
        at org.codehaus.mojo.weblogic.AppcMojo.execute(AppcMojo.java:129)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.ja
va:475)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecuto
r.java:306)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:27
3)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[ERROR] Exception encountered during APPC processing
java.lang.NoClassDefFoundError: com/bea/wlw/filesystem/IFileFilter
        at weblogic.servlet.jsp.jspc20.runBodyInternal(jspc20.java:420)
        at weblogic.servlet.jsp.jspc20.runJspc(jspc20.java:195)
        at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:239)
        at 
weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:353)
        at 
weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:78)
        at 
weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
        at 
weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
        at 
weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
        at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
        at 
weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
        at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
        at weblogic.application.compiler.Appc.runBody(Appc.java:163)
        at weblogic.utils.compiler.Tool.run(Tool.java:158)
        at weblogic.utils.compiler.Tool.run(Tool.java:115)
        at weblogic.application.compiler.Appc.main(Appc.java:174)
        at weblogic.appc.main(appc.java:14)
        at org.codehaus.mojo.weblogic.AppcMojo.execute(AppcMojo.java:129)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.ja
va:475)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecuto
r.java:306)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:27
3)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
--------------- nested within: ------------------
weblogic.utils.compiler.ToolFailureException: 
com/bea/wlw/filesystem/IFileFilter - with nested exception:
[java.lang.NoClassDefFoundError: com/bea/wlw/filesystem/IFileFilter]
        at 
weblogic.application.compiler.FlowDriver.handleStateChangeException(FlowDriver.java:53)
        at 
weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)
        at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
        at weblogic.application.compiler.Appc.runBody(Appc.java:163)
        at weblogic.utils.compiler.Tool.run(Tool.java:158)
        at weblogic.utils.compiler.Tool.run(Tool.java:115)
        at weblogic.application.compiler.Appc.main(Appc.java:174)
        at weblogic.appc.main(appc.java:14)
        at org.codehaus.mojo.weblogic.AppcMojo.execute(AppcMojo.java:129)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.ja
va:475)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecuto
r.java:306)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:27
3)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.NoClassDefFoundError: com/bea/wlw/filesystem/IFileFilter
        at weblogic.servlet.jsp.jspc20.runBodyInternal(jspc20.java:420)
        at weblogic.servlet.jsp.jspc20.runJspc(jspc20.java:195)
        at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:239)
        at 
weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:353)
        at 
weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:78)
        at 
weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
        at 
weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
        at 
weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
        at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
        at 
weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
        ... 25 more
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Exception encountered during APPC processing

Embedded error: com/bea/wlw/filesystem/IFileFilter
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Exception encountered 
during APPC processing
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.ja
va:475)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecuto
r.java:306)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:27
3)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Exception 
encountered during APPC processing
        at org.codehaus.mojo.weblogic.AppcMojo.execute(AppcMojo.java:134)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        ... 16 more
Caused by: weblogic.utils.compiler.ToolFailureException: 
com/bea/wlw/filesystem/IFileFilter - with nested exception
:
[java.lang.NoClassDefFoundError: com/bea/wlw/filesystem/IFileFilter]
        at 
weblogic.application.compiler.FlowDriver.handleStateChangeException(FlowDriver.java:53)
        at 
weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)
        at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
        at weblogic.application.compiler.Appc.runBody(Appc.java:163)
        at weblogic.utils.compiler.Tool.run(Tool.java:158)
        at weblogic.utils.compiler.Tool.run(Tool.java:115)
        at weblogic.application.compiler.Appc.main(Appc.java:174)
        at weblogic.appc.main(appc.java:14)
        at org.codehaus.mojo.weblogic.AppcMojo.execute(AppcMojo.java:129)
        ... 18 more
Caused by: java.lang.NoClassDefFoundError: com/bea/wlw/filesystem/IFileFilter
        at weblogic.servlet.jsp.jspc20.runBodyInternal(jspc20.java:420)
        at weblogic.servlet.jsp.jspc20.runJspc(jspc20.java:195)
        at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:239)
        at 
weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:353)
        at 
weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:78)
        at 
weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
        at 
weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
        at 
weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
        at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
        at 
weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
        ... 25 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 47 seconds
[INFO] Finished at: Fri Jun 22 05:40:46 CDT 2007
[INFO] Final Memory: 24M/116M
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to