possibly a corrupt jar

can you download the project...compile,package and install to local repository
(that way you have a non-corrupt jar to work with)


http://mojo.codehaus.org/jetty-maven-plugin/usage.html


Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.



 

> Date: Fri, 21 May 2010 09:52:51 -0700
> From: fachh...@gmail.com
> To: users@maven.apache.org
> Subject: Re: unable to run jetty
> 
> 
> I tried 7.0.0.RC6
> 
> and now I get this 
> 
> 2010-05-21 12:51:41.871:INFO::jetty-7.0.0.RC6
> 2010-05-21 12:51:41.888:WARN::Failed startup of context
> jettywebappcont...@ad2c11@ad2c11/artms,file:/E:/workspace/Audit.gov/audit.war/src/main/webapp/,file:/E:/workspace/Audit.gov/audit.war/src/main/webapp/
> java.net.URISyntaxException: Illegal character in path at index 18:
> file:/C:/Documents and
> Settings/sairamm/.m2/repository/org/mortbay/jetty/jetty-maven-plugin/7.0.0.RC6/jetty-maven-plugin-7.0.0.RC6.jar
> at java.net.URI$Parser.fail(URI.java:2809)
> 
> please help me .
> 
> 
> 
> 
> Anders Hammar wrote:
> > 
> > Try "mvn jetty:run" instead (not ketty:run)? :-)
> > 
> > Seriously, I assume you have the xml snippet within pluginManagement? (I
> > believe so as the specified version of the plugin is being used)
> > 
> > For the commons-dbcp dependency you've specified system scope, but no
> > path.
> > That's wrong. It exists at central so just remove the scope.
> > 
> > Have your tried any other version of the plugin? There is a bunch of them
> > for v7:
> > http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-maven-plugin/
> > 
> > /Anders
> > 
> > On Fri, May 21, 2010 at 00:34, fachhoch <fachh...@gmail.com> wrote:
> > 
> >>
> >> I added this plugin to my pom
> >>
> >> <plugin>
> >> <groupId>org.mortbay.jetty</groupId>
> >> <artifactId>jetty-maven-plugin</artifactId>
> >> <version>7.0.0.pre5</version>
> >> <configuration>
> >> <scanIntervalSeconds>10</scanIntervalSeconds>
> >> <webAppConfig>
> >> <contextPath>/artms</contextPath>
> >>
> >> <jettyEnvXml>${basedir}/jetty-env.xml</jettyEnvXml>
> >> </webAppConfig>
> >> <reload>automatic</reload>
> >> </configuration>
> >> <dependencies>
> >> <dependency>
> >> <groupId>commons-dbcp</groupId>
> >> <artifactId>commons-dbcp</artifactId>
> >> <version>1.2.2</version>
> >> <scope>system</scope>
> >> </dependency>
> >> <dependency>
> >> <groupId>com.oracle</groupId>
> >> <artifactId>ojdbc</artifactId>
> >> <version>14</version>
> >> </dependency>
> >> </dependencies>
> >> </plugin>
> >>
> >>
> >> when I run the ketty:run I get this error
> >>
> >> please tell me what is wrong
> >>
> >> + Error stacktraces are turned on.
> >> Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400)
> >> Java version: 1.6.0_11
> >> Java home: C:\Program Files\Java\jdk1.6.0_11\jre
> >> Default locale: en_US, platform encoding: Cp1252
> >> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> >> [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and
> >> Settings\sairamm\.m2\plugin-registry.xml'
> >> [DEBUG] Building Maven global-level plugin registry from:
> >> 'E:\dev\apache-maven-2.1.0-bin\apache-maven-2.1.0\conf\plugin-registry.xml'
> >> [INFO] Scanning for projects...
> >> [DEBUG] Searching for parent-POM: gov.audit:Audit.gov:pom:1 of project:
> >> gov.audit:audit.war:war:1 in relative path: ../pom.xml
> >> [DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' for
> >> project: gov.audit:audit.war:war:1
> >> [DEBUG] Retrieving parent-POM:
> >> org.apache.maven.plugins:maven-plugins:pom:8
> >> for project: null:maven-compiler-plugin:maven-plugin:2.0.2 from the
> >> repository.
> >> [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:5 for
> >> project: org.apache.maven.plugins:maven-plugins:pom:8 from the
> >> repository.
> >> [DEBUG] Retrieving parent-POM: org.apache:apache:pom:3 for project:
> >> org.apache.maven:maven-parent:pom:5 from the repository.
> >> [DEBUG] Retrieving parent-POM: org.codehaus.gmaven:gmaven:pom:1.2 for
> >> project: null:gmaven-plugin:maven-plugin:null from the repository.
> >> [DEBUG] Adding managed dependencies for unknown:gmaven-plugin
> >> [DEBUG] org.slf4j:slf4j-api:jar:1.5.10
> >> [DEBUG] org.sonatype.gossip:gossip:jar:1.2
> >> [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-13
> >> [DEBUG]
> >> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
> >> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.5.5
> >> [DEBUG] org.apache.maven:maven-core:jar:2.0.10
> >> [DEBUG] org.apache.maven:maven-project:jar:2.0.10
> >> [DEBUG] org.apache.maven:maven-artifact:jar:2.0.10
> >> [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.10
> >> [DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.0.10
> >> [DEBUG] org.apache.maven.reporting:maven-reporting-impl:jar:2.0.4.1
> >> [DEBUG] org.apache.maven.shared:file-management:jar:1.2.1
> >> [DEBUG] org.sonatype.gshell:gshell-io:jar:2.0
> >> [DEBUG] jline:jline:jar:0.9.94
> >> [DEBUG] com.thoughtworks.qdox:qdox:jar:1.8
> >> [DEBUG] commons-lang:commons-lang:jar:2.4
> >> [DEBUG] junit:junit:jar:3.8.2
> >> [DEBUG] org.codehaus.gmaven.feature:gmaven-feature-api:jar:1.2
> >> [DEBUG] org.codehaus.gmaven.feature:gmaven-feature-support:jar:1.2
> >> [DEBUG] org.codehaus.gmaven.runtime:gmaven-runtime-api:jar:1.2
> >> [DEBUG] org.codehaus.gmaven.runtime:gmaven-runtime-support:jar:1.2
> >> [DEBUG] org.codehaus.gmaven.runtime:gmaven-runtime-loader:jar:1.2
> >> [DEBUG] org.codehaus.gmaven.runtime:gmaven-runtime-1.5:jar:1.2
> >> [DEBUG] org.codehaus.gmaven.runtime:gmaven-runtime-1.6:jar:1.2
> >> [DEBUG] org.codehaus.gmaven.runtime:gmaven-runtime-1.7:jar:1.2
> >> [DEBUG] org.codehaus.gmaven:gmaven-mojo:jar:1.2
> >> [DEBUG] org.codehaus.gmaven:gmaven-mojo-support:jar:1.2
> >> [DEBUG] org.codehaus.gmaven:gmaven-plugin:jar:1.2
> >> [DEBUG] org.codehaus.gmaven:gmaven-packaging:jar:1.2
> >> [DEBUG] Retrieving parent-POM:
> >> org.mortbay.jetty:modules-extra:pom:7.0.0.pre5 for project:
> >> null:jetty-maven-plugin:maven-plugin:null from the repository.
> >> [DEBUG] Retrieving parent-POM:
> >> org.mortbay.jetty:jetty-project:pom:7.0.0.pre5 for project:
> >> null:modules-extra:pom:null from the repository.
> >> [DEBUG] Retrieving parent-POM: org.mortbay.jetty:jetty-parent:pom:7 for
> >> project: org.mortbay.jetty:jetty-project:pom:7.0.0.pre5 from the
> >> repository.
> >> [DEBUG] Adding managed dependencies for unknown:jetty-maven-plugin
> >> [DEBUG] org.mortbay.jetty:servlet-api:jar:3.0.pre4
> >> [DEBUG] org.apache.maven:maven-plugin-tools-api:jar:2.0
> >> [DEBUG] junit:junit:jar:3.8.2
> >> [DEBUG] org.slf4j:jcl104-over-slf4j:jar:1.3.1
> >> [DEBUG] org.slf4j:slf4j-simple:jar:1.3.1
> >> [DEBUG] ant:ant:jar:1.6.5
> >> [DEBUG] org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1
> >> [DEBUG] javax.mail:mail:jar:1.4
> >> [DEBUG] javax.activation:activation:jar:1.1
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [ERROR] FATAL ERROR
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] null
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [DEBUG] Trace
> >> java.lang.NullPointerException
> >> at java.io.File.<init>(File.java:222)
> >> at
> >>
> >> org.apache.maven.project.artifact.MavenMetadataSource.createArtifacts(MavenMetadataSource.java:445)
> >> at
> >>
> >> org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:377)
> >> at
> >>
> >> org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:217)
> >> at
> >>
> >> org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:177)
> >> at
> >>
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1517)
> >> at
> >>
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1722)
> >> at
> >>
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:446)
> >> at
> >>
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:176)
> >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
> >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
> >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
> >> 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:597)
> >> 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)
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Total time: < 1 second
> >> [INFO] Finished at: Thu May 20 18:32:36 EDT 2010
> >> [INFO] Final Memory: 4M/7M
> >> [INFO]
> >> ------------------------------------------------------------------------
> >>
> >>
> >> --
> >> View this message in context:
> >> http://old.nabble.com/unable-to--run-jetty-tp28627755p28627755.html
> >> Sent from the Maven - Users mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> >> For additional commands, e-mail: users-h...@maven.apache.org
> >>
> >>
> > 
> > 
> 
> -- 
> View this message in context: 
> http://old.nabble.com/unable-to--run-jetty-tp28627755p28636457.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
                                          
_________________________________________________________________
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with 
Hotmail. 
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5

Reply via email to