Maven is not working properly
-----------------------------

                 Key: MAVEN-1787
                 URL: http://jira.codehaus.org/browse/MAVEN-1787
             Project: Maven
          Issue Type: Task
          Components: installer
    Affects Versions: 1.0.2
         Environment: Windows XP Prof, Java1.5
            Reporter: Niamul Sanjavi


I have installed Maven 1.0.2 in the following directory : C:\Maven\Maven1.0.2 
and set the MAVEN_HOME acordingly.
My Java version is 1.5 and it is installed in the directory C:\Program 
Files\Java\jdk1.5.0_07 and the JAVA_HOME is set accordingly.
But when I run the maven.bat the following error occcurs :
-----------------------------------------------------------------------------------------------



Plugin cache will be regenerated
Fatal Error [line 23, row 23]: XML document structures must start and end within
 the same entity.
org.apache.maven.MavenException: Error parsing plugin script
        at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.j
ava:165)
        at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.j
ava:177)
        at org.apache.maven.plugin.PluginManager.loadUncachedPlugins(PluginManag
er.java:239)
        at org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:3
04)
        at org.apache.maven.MavenSession.initializePluginManager(MavenSession.ja
va:204)
        at org.apache.maven.MavenSession.initialize(MavenSession.java:171)
        at org.apache.maven.cli.App.doMain(App.java:475)
        at org.apache.maven.cli.App.main(App.java:1239)
        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 com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
--- Nested Exception ---
org.xml.sax.SAXParseException: XML document structures must start and end within
 the same entity.
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.j
ava:157)
        at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.j
ava:177)
        at org.apache.maven.plugin.PluginManager.loadUncachedPlugins(PluginManag
er.java:239)
        at org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:3
04)
        at org.apache.maven.MavenSession.initializePluginManager(MavenSession.ja
va:204)
        at org.apache.maven.MavenSession.initialize(MavenSession.java:171)
        at org.apache.maven.cli.App.doMain(App.java:475)
        at org.apache.maven.cli.App.main(App.java:1239)
        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 com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)

You have encountered an unknown error running Maven. Please help us to correct
this problem by following these simple steps:
- read the Maven FAQ at http://maven.apache.org/faq.html
- run the same command again with the '-e' parameter, eg maven -e jar
- search the maven-user archives for the error at
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]

- post the output of maven -e to JIRA at
http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up first)
- run 'maven --info' and post the output as the environment to the bug above



-----------------------------------------------------------------------------------------------------------------------------------------

I can't find the reason for this type of error.
Could you please suggest me the solution for this error?





-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to