Hi,
Are you by any chance behind a firewall? If so check the logfiles on your
firewall server for errors.
This is from the Maven User Guide:
If you do require a proxy, the most appropriate place to set these
values would be in your ${user.home}/build.properties file.
## ----------------------------------------------------------
## ${user.home}/build.properties
## ----------------------------------------------------------
.
.
maven.proxy.host = my.proxyserver.com
maven.proxy.port = 8080
maven.proxy.username = username
maven.proxy.password = password
.
.
/Keld Mikkelsen
|---------+---------------------------------->
| | "Shelly_Singh" |
| | <[EMAIL PROTECTED]|
| | sys.com> |
| | 30-07-2003 07:06 |
| | Please respond to |
| | "Maven Users List"|
| | |
| | |
|---------+---------------------------------->
>--------------------------------------------------------------------------------------------------------------|
|
|
|To: "Maven Users List" <[EMAIL PROTECTED]>
|
|cc: (bcc: Keld Mikkelsen/IT/DK_GBJ/Grundfos)
|
| Subject: Help Needed .. InvalidJarIndexException
|
>--------------------------------------------------------------------------------------------------------------|
Hi,
I am very new to maven.
I installed maven and called genapp. I get the InvalidJarIndexException.
I also tried running maven for an existing application by creating a
project.xml. I still get the same exception.
Please help.
Regards,
Shelly
sun.misc.InvalidJarIndexException: Invalid index!
at
sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:594)
at sun.misc.URLClassPath.getResource(URLClassPath.java:134)
at java.net.URLClassLoader$2.run(URLClassLoader.java:349)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findResource(URLClassLoader.java:346)
at java.lang.ClassLoader.getResource(ClassLoader.java:734)
at java.lang.Class.getResource(Class.java:1249)
at
org.apache.commons.betwixt.XMLIntrospector.findByXMLDescriptor(XMLInt
rospector.java:531)
at
org.apache.commons.betwixt.XMLIntrospector.introspect(XMLIntrospector
.java:256)
at
org.apache.commons.betwixt.io.BeanReader.registerBeanClass(BeanReader
.java:143)
at
org.apache.maven.MavenUtils.createBeanReader(MavenUtils.java:560)
at
org.apache.maven.MavenUtils.getProjectBeanReader(MavenUtils.java:324)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:198)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:160)
at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java
:324)
at org.apache.maven.MavenSession.initialize(MavenSession.java:234)
at org.apache.maven.cli.App.doMain(App.java:514)
at org.apache.maven.cli.App.main(App.java:1088)
at java.lang.reflect.Method.invoke(Native Method)
at com.werken.forehead.Forehead.run(Forehead.java:543)
at com.werken.forehead.Forehead.main(Forehead.java:573)
Total time: 2 seconds
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]