You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Alan Cabrera (JIRA)" <de...@geronimo.apache.org> on 2004/10/25 17:19:44 UTC

[jira] Commented: (GERONIMO-394) Build fails due to NoClassDefFoundError: org/mortbay/jetty/Server

     [ http://issues.apache.org/jira/browse/GERONIMO-394?page=comments#action_54603 ]
     
Alan Cabrera commented on GERONIMO-394:
---------------------------------------

This jar comes from the mort bay repo.  You should bring this up with the Jetty group.

> Build fails due to NoClassDefFoundError: org/mortbay/jetty/Server
> -----------------------------------------------------------------
>
>          Key: GERONIMO-394
>          URL: http://issues.apache.org/jira/browse/GERONIMO-394
>      Project: Apache Geronimo
>         Type: Bug
>   Components: web
>     Versions: 1.0-M3
>  Environment: Microsoft Windows XP [Wersja 5.1.2600]
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
> Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)
> CYGWIN_NT-5.1 Shrek 1.5.11(0.116/4/2) 2004-09-04 23:17 i686 unknown unknown Cygwin
>     Reporter: Shrek the Ogre
>     Assignee: Alan Cabrera
>     Priority: Blocker

>
> It's not possible to build Geronimo as either jetty or assembly module fails because org.mortbay.jetty-5.1-SNAPSHOT.jar is corrupted (0kB in size after downloading it during Geronimo build process).
> The file was downloaded manually from http://www.mortbay.org/maven/jetty/jars/org.mortbay.jetty-5.1-SNAPSHOT.jar and it seems it's correct, but right after the build has started in the online mode, the file cannot be again downloaded correctly via maven. Here's Maven output snippet:
> Próbuj&#281; &#347;ci&#261;gn&#261;&#263; org.mortbay.jetty-5.1-SNAPSHOT.jar.
> warning: last-modified not specified
> 0K downloaded
> warning: last-modified not specified
> "Próbuj&#281; &#347;ci&#261;gn&#261;&#263;" translates to "Attempting to download" in English (it's a localized message of Maven).
> The jar file was deleted from Maven local repository several times and it didn't help.
> As you might have guessed, during the build the assembly module chokes that Jetty classes are not in place and the build fails with the following exception:
>     [echo] Building server configuration
>     [java] org.apache.geronimo.deployment.DeploymentException: java.lang.reflect.InvocationTargetException
>     [java]      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:213)
>     [java]      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:83)
>     [java]      at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
>     [java]      at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
>     [java]      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
>     [java]      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
>     [java]      at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:232)
>     [java]      at org.apache.geronimo.system.main.CommandLine.<init>(CommandLine.java:106)
>     [java]      at org.apache.geronimo.system.main.CommandLine.main(CommandLine.java:64)
>     [java] Caused by: java.lang.reflect.InvocationTargetException
>     [java]      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:174)
>     [java]      ... 8 more
>     [java] Caused by: java.lang.NoClassDefFoundError: org/mortbay/jetty/Server
>     [java]      at java.lang.Class.getDeclaredMethods0(Native Method)
>     [java]      at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
>     [java]      at java.lang.Class.getDeclaredMethod(Class.java:1907)
>     [java]      at org.apache.geronimo.gbean.GBeanInfo.getGBeanInfo(GBeanInfo.java:53)
>     [java]      at org.apache.geronimo.deployment.service.GBeanBuilder.<init>(GBeanBuilder.java:47)
>     [java]      at org.apache.geronimo.deployment.service.GBeanHelper.addGbean(GBeanHelper.java:31)
>     [java]      at org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.j
> ava:110)
>     [java]      ... 9 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira