That must have been it..

I didn't take the time to look through all the jars; since I just
created the app ..  However, after deleting my entire .m2/repository
(I know.. big hammer)  and recreating the app, it worked fine.

Thanks for the suggestion.  Any better ways to narrow down exactly
what jar is bad besides trial and error?  If this ever happened using
our internal repo it would be hard to track down the exact jar, and
troublesome to blow away the whole repo

On Tue, Jun 15, 2010 at 1:34 PM, kristian <m.krist...@web.de> wrote:
> well this sounds like corrupted jar file in the classpath.
>
> when you run
> mvn jetty:run -X
> then you will find the classpathElements used by the jetty plugin. I
> guess you need to check if they are all OK and delete the corrupted
> ones.
>
> this kind of problems I saw a few times when I kill maven while
> downloading or my internet connection suddenly dropped . . .
>
> regards Kristian
>
>
>
> On Tue, Jun 15, 2010 at 10:31 PM, Greg Akins <angryg...@gmail.com> wrote:
>> OK.. first I thought my problems with jetty:run were the result of
>> using a bad archetype (That's why in another email, I asked for an
>> archetype for JSF.. Since then I've realized that wasn't necessary)
>>
>> Now I'm using MyFaces archetype (myfaces-archetype-helloworld) and am
>> still getting an error when I use jetty:run
>>
>> This is the log/stacktrace (I'm using 2.2.1 on Ubuntu 10 with
>> java-6-jdk  Any help would be greatly appreciated
>>
>> [INFO] Starting jetty 6.1.8 ...
>> 2010-06-15 12:55:34.077::INFO:  jetty-6.1.8
>> 2010-06-15 12:55:34.457::INFO:  No Transaction manager found - if your
>> webapp requires one, please configure one.
>> 2010-06-15 12:55:34.496::WARN:  Failed startup of context
>> org.mortbay.jetty.plugin.jetty6pluginwebappcont...@7acdba53{/CustomTextMod,/home/akinsg/Projects/CustomTextMod/src/main/webapp}
>> java.util.zip.ZipException: error in opening zip file
>>        at java.util.zip.ZipFile.open(Native Method)
>>        at java.util.zip.ZipFile.<init>(ZipFile.java:131)
>>        at java.util.jar.JarFile.<init>(JarFile.java:150)
>>        at java.util.jar.JarFile.<init>(JarFile.java:114)
>>        at 
>> org.mortbay.jetty.webapp.TagLibConfiguration.configureWebApp(TagLibConfiguration.java:168)
>>        at 
>> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1217)
>>        at 
>> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
>>        at 
>> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
>>        at 
>> org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:110)
>>        at 
>> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>>        at 
>> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
>>        at 
>> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
>>        at 
>> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>>        at 
>> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
>>        at 
>> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>>        at 
>> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
>>        at org.mortbay.jetty.Server.doStart(Server.java:222)
>>        at 
>> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
>>        at 
>> org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
>>        at 
>> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:357)
>>        at 
>> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:293)
>>        at 
>> org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:203)
>>        at 
>> org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)
>>        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.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
>>        at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
>>        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)
>> 2010-06-15 12:55:34.527::INFO:  Started selectchannelconnec...@0.0.0.0:8080
>>
>>
>> --
>> Greg Akins
>>
>> http://insomnia-consulting.org
>> http://www.pghcodingdojo.org
>> http://pittjug.dev.java.net
>> http://twitter.com/akinsgre
>> http://www.linkedin.com/in/akinsgre
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>
>
>
> --
> Kristian Meier + Saumya Sharma + Sanuka Meier
> Vadakkethu House,
> Edayanmula West PO - 689532,
> Pathanamthitta District, Kerala, INDIA
>
> tel: +91 468 2319577
>
> protect your privacy while searching the net: www.ixquick.com
>
>             _=_
>           q(-_-)p
>            '_) (_`
>            /__/  \
>         _(<_   / )_
>      (__\_\_|_/__)
>



-- 
Greg Akins

http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to