tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Missing web.xml file causes UnknownModuleTypeException
Date Thu, 15 Mar 2012 11:00:14 GMT
hmm,

try to compile the maven plugins before openejb:
https://svn.apache.org/repos/asf/openejb/trunk/maven-plugins/

i'm not sure everything is up to adte in nexus

- Romain


2012/3/15 Neale Rudd <neale@metawerx.net>

> Hi Romain,
>
> I followed your instructions for the build, thanks for that.
>
> However - I get part way then it crashes here in the Core target building
> plexus:
>
> [INFO] ------------------------------**------------------------------**
> ------------
> [INFO] Building OpenEJB :: Container :: Core
> [INFO]    task-segment: [clean, install]
> [INFO] ------------------------------**------------------------------**
> ------------
> ...
> ...
> [INFO] [spi-helper:generate {execution: generate-scan-xml}]
> [INFO] using profile jee6
> Downloading: http://repository.apache.org/**snapshots//org/apache/openejb/
> **spi-helper-jee6-profile/0.0.1-**SNAPSHOT/spi-helper-jee6-**
> profile-0.0.1-20120308.214320-**6<http://repository.apache.org/snapshots//org/apache/openejb/spi-helper-jee6-profile/0.0.1-SNAPSHOT/spi-helper-jee6-profile-0.0.1-20120308.214320-6>
> [WARNING] can't find spi-helper-jee6-profile
> [INFO] using a file archive
> [FATAL ERROR] org.apache.openejb.maven.**plugin.spi.SpiMojo#execute()
> caused a linkage error (java.lang.**NoClassDefFoundError) and may be
> out-of-date. Check the realms:
> [FATAL ERROR] Plugin realm = app0.child-container[org.**
> apache.openejb:spi-helper-**maven-plugin:0.0.1-SNAPSHOT]
> urls[0] = file:/home/.m2/repository/org/**apache/openejb/spi-helper-**
> maven-plugin/0.0.1-SNAPSHOT/**spi-helper-maven-plugin-0.0.1-**SNAPSHOT.jar
> urls[1] = file:/home/.m2/repository/org/**apache/openejb/spi-helper-**
> jee6-profile/0.0.1-SNAPSHOT/**spi-helper-jee6-profile-0.0.1-**SNAPSHOT.jar
> urls[2] = file:/home/.m2/repository/org/**codehaus/plexus/plexus-utils/**
> 1.5.15/plexus-utils-1.5.15.jar
> urls[3] = file:/home/.m2/repository/org/**apache/xbean/xbean-finder-**
> shaded/3.10-SNAPSHOT/xbean-**finder-shaded-3.10-SNAPSHOT.**jar
> urls[4] = file:/home/.m2/repository/org/**apache/xbean/xbean-asm-shaded/**
> 3.10-SNAPSHOT/xbean-asm-**shaded-3.10-SNAPSHOT.jar
> [FATAL ERROR] Container realm = plexus.core
> urls[0] = file:/usr/share/maven2/lib/**maven-debian-uber.jar
> [INFO] ------------------------------**------------------------------**
> ------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------**------------------------------**
> ------------
> [INFO] javax/interceptor/**InvocationContext
> javax.interceptor.**InvocationContext
> [INFO] ------------------------------**------------------------------**
> ------------
> [INFO] Trace
> java.lang.**NoClassDefFoundError: javax/interceptor/**InvocationContext
>       at java.lang.Class.**getDeclaredMethods0(Native Method)
>       at java.lang.Class.**privateGetDeclaredMethods(**Class.java:2444)
>       at java.lang.Class.**getDeclaredMethods(Class.java:**1808)
>       at org.apache.xbean.finder.**AnnotationFinder.**
> findAnnotatedMethods(**AnnotationFinder.java:584)
>       at org.apache.openejb.maven.**plugin.spi.SpiMojo.execute(**
> SpiMojo.java:217)
>       at org.apache.maven.plugin.**DefaultPluginManager.**executeMojo(**
> DefaultPluginManager.java:490)
>       at org.apache.maven.lifecycle.**DefaultLifecycleExecutor.**
> executeGoals(**DefaultLifecycleExecutor.java:**694)
>       at org.apache.maven.lifecycle.**DefaultLifecycleExecutor.**
> executeGoalWithLifecycle(**DefaultLifecycleExecutor.java:**556)
>       at org.apache.maven.lifecycle.**DefaultLifecycleExecutor.**
> executeGoal(**DefaultLifecycleExecutor.java:**535)
>       at org.apache.maven.lifecycle.**DefaultLifecycleExecutor.**
> executeGoalAndHandleFailures(**DefaultLifecycleExecutor.java:**387)
>       at org.apache.maven.lifecycle.**DefaultLifecycleExecutor.**
> executeTaskSegments(**DefaultLifecycleExecutor.java:**348)
>       at org.apache.maven.lifecycle.**DefaultLifecycleExecutor.**execute(*
> *DefaultLifecycleExecutor.java:**180)
>       at org.apache.maven.DefaultMaven.**doExecute(DefaultMaven.java:**
> 328)
>       at org.apache.maven.DefaultMaven.**execute(DefaultMaven.java:138)
>       at org.apache.maven.cli.MavenCli.**main(MavenCli.java:362)
>       at org.apache.maven.cli.compat.**CompatibleMain.main(**
> CompatibleMain.java:60)
>       at sun.reflect.**NativeMethodAccessorImpl.**invoke0(Native Method)
>       at sun.reflect.**NativeMethodAccessorImpl.**invoke(**
> NativeMethodAccessorImpl.java:**57)
>       at sun.reflect.**DelegatingMethodAccessorImpl.**invoke(**
> DelegatingMethodAccessorImpl.**java:43)
>       at java.lang.reflect.Method.**invoke(Method.java:616)
>       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.**ClassNotFoundException: javax.interceptor.**
> InvocationContext
>       at java.net.URLClassLoader$1.run(**URLClassLoader.java:217)
>       at java.security.**AccessController.doPrivileged(**Native Method)
>       at java.net.URLClassLoader.**findClass(URLClassLoader.java:**205)
>       at java.lang.ClassLoader.**loadClass(ClassLoader.java:**321)
>       at java.lang.ClassLoader.**loadClass(ClassLoader.java:**266)
>       ... 24 more
>
> Any idea?
>
>
> Best Regards,
> Neale
>
> ----- Original Message ----- From: "Romain Manni-Bucau" <
> rmannibucau@gmail.com>
> To: <users@openejb.apache.org>
> Sent: Tuesday, March 06, 2012 10:20 PM
>
> Subject: Re: Missing web.xml file causes UnknownModuleTypeException
>
>
>  yep, the Apache one:
>>
>> to simply build tomee:
>>
>> svn co http://svn.apache.org/repos/**asf/openejb/trunk/openejb/<http://svn.apache.org/repos/asf/openejb/trunk/openejb/>
>> cd openjeb
>> mvn clean install -Dmaven.test.skip=true -pl tomee/apache-tomee -am
>>
>> then go to openejb/tomee/apache-tomee/**target, you'll find the zip you
>> are
>> looking for.
>>
>> - Romain
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message