geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shrek the Ogre (JIRA)" <>
Subject [jira] Created: (GERONIMO-394) Build fails due to NoClassDefFoundError: org/mortbay/jetty/Server
Date Mon, 25 Oct 2004 08:08:11 GMT
Build fails due to NoClassDefFoundError: org/mortbay/jetty/Server

         Key: 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
    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
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(
    [java]      at org.apache.geronimo.deployment.Deployer.deploy(
    [java]      at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(
    [java]      at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(
    [java]      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(
    [java]      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(
    [java]      at org.apache.geronimo.kernel.Kernel.invoke(
    [java]      at org.apache.geronimo.system.main.CommandLine.<init>(
    [java]      at org.apache.geronimo.system.main.CommandLine.main(
    [java] Caused by: java.lang.reflect.InvocationTargetException
    [java]      at org.apache.geronimo.deployment.Deployer.deploy(
    [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(
    [java]      at java.lang.Class.getDeclaredMethod(
    [java]      at org.apache.geronimo.gbean.GBeanInfo.getGBeanInfo(
    [java]      at org.apache.geronimo.deployment.service.GBeanBuilder.<init>(
    [java]      at org.apache.geronimo.deployment.service.GBeanHelper.addGbean(
    [java]      at org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.j
    [java]      ... 9 more

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message