You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Kanchana Welagedara <ka...@gmail.com> on 2007/01/29 12:40:45 UTC

Build failure

Hi All

I'm trying to build the code.I tried building code for the several time and
ended it with following error for each time

Can any body please help me to solve this?

Regards
Kanchana


/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/TomcatEngine.java:[21,32]
package org.apache.catalina.core does not exist

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/TomcatEngine.java:[24,34]
cannot find symbol
symbol: class StandardEngine
public class TomcatEngine extends StandardEngine implements Engine{

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/TomcatEngine.java:[24,60]
cannot find symbol
symbol: class Engine
public class TomcatEngine extends StandardEngine implements Engine{

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/TomcatEngine.java:[31,11]
cannot find symbol
symbol  : class Realm
location: class org.apache.geronimo.tomcat.TomcatEngine

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/ConnectorGBean.java:[25,27]
package org.apache.catalina does not exist

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/ConnectorGBean.java:[26,37]
package org.apache.catalina.connector does not exist

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/ConnectorGBean.java:[42,20]
cannot find symbol
symbol  : class Connector
location: class org.apache.geronimo.tomcat.ConnectorGBean

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/ConnectorGBean.java:[128,33]
cannot find symbol
symbol  : class LifecycleException
location: class org.apache.geronimo.tomcat.ConnectorGBean

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/listener/DispatchListener.java:[23,27]
package org.apache.catalina does not exist

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/listener/DispatchListener.java:[24,27]
package org.apache.catalina does not exist

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/listener/DispatchListener.java:[25,27]
package org.apache.catalina does not exist

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/listener/DispatchListener.java:[26,27]
package org.apache.catalina does not exist

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/listener/DispatchListener.java:[27,32]
package org.apache.catalina.core does not exist

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/listener/DispatchListener.java:[37,41]
cannot find symbol
symbol: class InstanceListener
public class DispatchListener implements InstanceListener {

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/listener/DispatchListener.java:[47,30]
cannot find symbol
symbol  : class InstanceEvent
location: class org.apache.geronimo.tomcat.listener.DispatchListener

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/GeronimoStandardContext.java:[32,27]
package org.apache.catalina does not exist

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/GeronimoStandardContext.java:[33,27]
package org.apache.catalina does not exist

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/GeronimoStandardContext.java:[34,27]
package org.apache.catalina does not exist

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/GeronimoStandardContext.java:[35,27]
package org.apache.catalina does not exist

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/GeronimoStandardContext.java:[36,27]
package org.apache.catalina does not exist

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/GeronimoStandardContext.java:[37,27]
package org.apache.catalina does not exist

/home/kanchi/svn/server/modules/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/GeronimoStandardContext.java:[38,32]
package org.apache.catalina.util does not exist


[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:555)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:454)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
        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.CompilationFailureException: Compilation
failure
        at org.apache.maven.plugin.AbstractCompilerMojo.execute(
AbstractCompilerMojo.java:505)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java
:111)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:412)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:534)
        ... 16 more

Re: Build failure

Posted by Kevan Miller <ke...@gmail.com>.
On Jan 29, 2007, at 6:40 AM, Kanchana Welagedara wrote:

> Hi All
>
> I'm trying to build the code.I tried building code for the several  
> time and ended it with following error for each time
>
> Can any body please help me to solve this?

Kanchana,
I would guess that the catalina jar in your local maven repository is  
not valid. One of the maven repos had a configuration problem, last  
week. And served up some bad artifacts. If you cleanup your local  
maven repo, you should be ok. Try the following:

rm -rf ~/.m2/repository/org/apache/tomcat/catalina/   (or windows  
equivalent)
mvn clean install

If that doesn't work, clean your entire repo:

rm -rf ~/.m2/repository
mvn clean install

--kevan