Dennis,
I'm wondering if you tried this more than 47 hours ago before the
servlet spec dependency was introduced.
http://svn.apache.org/viewvc/geronimo/server/trunk/applications/geronimo-welcome/pom.xml?view=log
See if you are missing the servlet spec in your
applications/geronimo-welcome/pom.xml. That is where the javax.servlet
package comes from.
Cheers
Prasad
On 12/15/06, Dennis Meade <dennismeade@bluebottle.com> wrote:
>
> I get the errors listed below when I try to build Geronimo.
>
> Downloaded and then tried to guild Geronimo with:
>
> ------
>
> svn co https://svn.apache.org/repos/asf/geronimo/server/trunk server
>
> set MAVEN_OPTS=-Xmx512m
> mvn -e -Dmaven.test.skip=true -Dmaven.itest.skip=true install
>
> ------
>
> I've tried to figure what's wrong with my environment ( CLASSPATH? ),
> but am at a loss. I can build and run servlets on my machine.
>
> Any help would be greatly appreciated.
>
> ------------------------------------------------------------------------
> ERROR] BUILD FAILURE
> INFO]
> ------------------------------------------------------------------------
> INFO] Compilation failure
>
> C:\Geronimo\server\applications\geronimo-welcome\src\main\java\org\apache\geroni
> mo\welcome\AbsentSampleServlet.java:[23,21] package javax.servlet does
> not exist
> .
> .
> .
> C:\Geronimo\server\applications\geronimo-welcome\src\main\java\org\apache\geroni
> mo\welcome\AbsentSampleServlet.java:[25,26] package javax.servlet.http
> does not
> exist
> .
> .
> .
> C:\Geronimo\server\applications\geronimo-welcome\src\main\java\org\apache\geroni
> mo\welcome\AbsentSampleServlet.java:[48,41] cannot find symbol
> symbol: class HttpServlet
> ublic class AbsentSampleServlet extends HttpServlet {
>
> C:\Geronimo\server\applications\geronimo-welcome\src\main\java\org\apache\geroni
> no\welcome\AbsentSampleServlet.java:[49,25] cannot find symbol
> symbol : class HttpServletRequest
> location: class org.apache.geronimo.welcome.AbsentSampleServlet
> .
> .
> .
>
> C:\Geronimo\server\applications\geronimo-welcome\src\main\java\org\apache\geroni
> mo\welcome\AbsentSampleServlet.java:[124,26] cannot find symbol
> symbol : class ServletException
> location: class org.apache.geronimo.welcome.AbsentSampleServlet
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: Compilation failure
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:555)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:475)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:454)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:306)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:273)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.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(DelegatingMethodAcces
> sorImpl.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 fail
> ure
> at
> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
> Mojo.java:505)
> at
> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:412)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:534)
> ... 16 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 minutes 37 seconds
> [INFO] Finished at: Fri Dec 15 20:16:38 EST 2006
> [INFO] Final Memory: 64M/114M
> [INFO]
> ------------------------------------------------------------------------
>
> C:\Geronimo\server>
>
> ----------------------------------------------------------------------
> Stone Hawk Drug Rehab
> Stone Hawk drug rehab has the highest success rate nationwide with 76%
> http://tagline.bidsystem.com/fc/BgLEQfI9JGqZ5gu7frJ3y3z8azc9jOAc6Jfv/
>
>
|