Strange bug that renders my maven useless: java.lang.NoSuchMethodError: org.apache.crimson.parser.SimpleHashtable.<init>(I)V ----------------------------------------------------------------------------------------------------------------------------
Key: MAVEN-1752 URL: http://jira.codehaus.org/browse/MAVEN-1752 Project: Maven Type: Bug Versions: 1.1-beta-3 Environment: Windows 2000 maven-1.1-beta-2 maven-1.1-beta-3-SNAPSHOT Reporter: Maxim Gubin Fix For: 1.1-beta-2, 1.1-beta-3 A strange error has begun occuring. I uninstalled maven once for whatever reason, and after that I began getting this error. And no matter what version of Maven I switch to, I get the same error. I started getting this error on version 1.1-beta-2 and saw a suggestion to try the snapshot, and it's doing the same thing. Does anyone know what this relates to? Here's the snippet: C:\dev\maven-test>maven __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-3-SNAPSHOT Plugin cache will be regenerated java.lang.NoSuchMethodError: org.apache.crimson.parser.SimpleHashtable.<init>(I)V at org.apache.crimson.parser.Parser2.<init>(Parser2.java:179) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:429) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:157) at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177) at org.apache.maven.plugin.PluginManager.loadUncachedPlugins(PluginManager.java:238) at org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:303) at org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:204) at org.apache.maven.MavenSession.initialize(MavenSession.java:171) at org.apache.maven.cli.App.doMain(App.java:498) at org.apache.maven.cli.App.main(App.java:1258) 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:324) 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://www.mail-archive.com/users@maven.apache.org - post the output of maven -e to JIRA at http://jira.codehaus.org/browse/MAVEN (you must sign up first) - run 'maven --info' and post the output as the environment to the bug above Total time : 0 seconds Finished at : Tuesday, April 11, 2006 11:34:37 AM EDT C:\dev\maven-test>maven -X __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-3-SNAPSHOT Initializing Plugins! Context [28910606] : variable [maven] => value = [null] Context [28910606] : variable [maven.home] => value = [C:\maven-1.1-beta3-20051210] Context [28910606] : variable [maven.plugin.dir] => value = [C:\maven-1.1-beta3-20051210/plugins] Context [28910606] : variable [maven] => value = [null] Context [28910606] : variable [maven.home] => value = [C:\maven-1.1-beta3-20051210] Context [28910606] : variable [user] => value = [null] Context [28910606] : variable [user.home] => value = [C:\Documents and Settings\mgubin] Context [28910606] : variable [maven.home.local] => value = [C:\Documents and Settings\mgubin/.maven] Context [28910606] : variable [maven.plugin.unpacked.dir] => value = [C:\Documents and Settings\mgubin/.maven/cache] Context [28910606] : variable [maven] => value = [null] Context [28910606] : variable [maven.home] => value = [C:\maven-1.1-beta3-20051210] Context [28910606] : variable [user] => value = [null] Context [28910606] : variable [user.home] => value = [C:\Documents and Settings\mgubin] Context [28910606] : variable [maven.home.local] => value = [C:\Documents and Settings\mgubin/.maven] Context [28910606] : variable [maven.plugin.user.dir] => value = [C:\Documents and Settings\mgubin/.maven/plugins] Set plugin source directory to C:\maven-1.1-beta3-20051210\plugins Set unpacked plugin directory to C:\Documents and Settings\mgubin\.maven\cache Set user plugin directory to C:\Documents and Settings\mgubin\.maven\plugins Plugin cache will be regenerated Now mapping cached plugins Now loading uncached plugins Loading plugin 'maven-cruisecontrol-plugin-1.8-SNAPSHOT' Using userBuildPropertiesFile: C:\Documents and Settings\mgubin\build.properties Using projectPropertiesFile: C:\Documents and Settings\mgubin\.maven\cache\maven-cruisecontrol-plugin-1.8-SNAPSHOT\project.properties Using projectBuildPropertiesFile: C:\Documents and Settings\mgubin\.maven\cache\maven-cruisecontrol-plugin-1.8-SNAPSHOT\build.properties Context [29997514] : variable [maven] => value = [null] Context [29997514] : variable [maven.home] => value = [C:\maven-1.1-beta3-20051210] Context [29997514] : variable [user] => value = [null] Context [29997514] : variable [user.home] => value = [C:\Documents and Settings\mgubin] Context [29997514] : variable [maven.home.local] => value = [C:\Documents and Settings\mgubin/.maven] Context [29997514] : variable [maven.repo.local] => value = [C:\Documents and Settings\mgubin/.maven/repository] Context [29997514] : variable [maven] => value = [null] Context [29997514] : variable [maven.home] => value = [C:\maven-1.1-beta3-20051210] Context [29997514] : variable [user] => value = [null] Context [29997514] : variable [user.home] => value = [C:\Documents and Settings\mgubin] Context [29997514] : variable [maven.home.local] => value = [C:\Documents and Settings\mgubin/.maven] Context [29997514] : variable [maven.plugin.user.dir] => value = [C:\Documents and Settings\mgubin/.maven/plugins] Context [29997514] : variable [maven] => value = [null] Context [29997514] : variable [maven.home] => value = [C:\maven-1.1-beta3-20051210] Context [29997514] : variable [user] => value = [null] Context [29997514] : variable [user.home] => value = [C:\Documents and Settings\mgubin] Context [29997514] : variable [maven.home.local] => value = [C:\Documents and Settings\mgubin/.maven] Context [29997514] : variable [maven.plugin.unpacked.dir] => value = [C:\Documents and Settings\mgubin/.maven/cache] Context [29997514] : variable [maven] => value = [null] Context [29997514] : variable [maven.home] => value = [C:\maven-1.1-beta3-20051210] Context [29997514] : variable [maven.plugin.dir] => value = [C:\maven-1.1-beta3-20051210/plugins] Context [29997514] : variable [user] => value = [null] Context [29997514] : variable [user.home] => value = [C:\Documents and Settings\mgubin] Context [29997514] : variable [maven.home.local] => value = [C:\Documents and Settings\mgubin/.maven] Context [29997514] : variable [maven.home] => value = [C:\maven-1.1-beta3-20051210] Context [29997514] : variable [maven.property.inheritance] => value = [true] Context [28910606] : variable [maven.property.inheritance] => value = [true] Context [29997514] : variable [maven.jar.override] => value = [null] Context [29997514] : variable [maven.jar.commons-jelly-tags-xml] => value = [null] Context [29997514] : variable [maven] => value = [null] Context [29997514] : variable [maven.home] => value = [C:\maven-1.1-beta3-20051210] Context [29997514] : variable [user] => value = [null] Context [29997514] : variable [user.home] => value = [C:\Documents and Settings\mgubin] Context [29997514] : variable [maven.home.local] => value = [C:\Documents and Settings\mgubin/.maven] Context [29997514] : variable [maven.repo.local] => value = [C:\Documents and Settings\mgubin/.maven/repository] Context [29997514] : variable [maven.jar.commons-jelly-tags-jsl] => value = [null] Context [29997514] : variable [maven] => value = [null] Context [29997514] : variable [maven.home] => value = [C:\maven-1.1-beta3-20051210] Context [29997514] : variable [user] => value = [null] Context [29997514] : variable [user.home] => value = [C:\Documents and Settings\mgubin] Context [29997514] : variable [maven.home.local] => value = [C:\Documents and Settings\mgubin/.maven] Context [29997514] : variable [maven.repo.local] => value = [C:\Documents and Settings\mgubin/.maven/repository] java.lang.NoSuchMethodError: org.apache.crimson.parser.SimpleHashtable.<init>(I)V at org.apache.crimson.parser.Parser2.<init>(Parser2.java:179) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:429) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:157) at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177) at org.apache.maven.plugin.PluginManager.loadUncachedPlugins(PluginManager.java:238) at org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:303) at org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:204) at org.apache.maven.MavenSession.initialize(MavenSession.java:171) at org.apache.maven.cli.App.doMain(App.java:498) at org.apache.maven.cli.App.main(App.java:1258) 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:324) 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://www.mail-archive.com/users@maven.apache.org - post the output of maven -e to JIRA at http://jira.codehaus.org/browse/MAVEN (you must sign up first) - run 'maven --info' and post the output as the environment to the bug above Final Memory : 0M/1M Total time : 1 seconds Finished at : Tuesday, April 11, 2006 11:34:48 AM EDT C:\dev\maven-test>maven -e __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-3-SNAPSHOT Plugin cache will be regenerated java.lang.NoSuchMethodError: org.apache.crimson.parser.SimpleHashtable.<init>(I)V at org.apache.crimson.parser.Parser2.<init>(Parser2.java:179) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:429) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:157) at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177) at org.apache.maven.plugin.PluginManager.loadUncachedPlugins(PluginManager.java:238) at org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:303) at org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:204) at org.apache.maven.MavenSession.initialize(MavenSession.java:171) at org.apache.maven.cli.App.doMain(App.java:498) at org.apache.maven.cli.App.main(App.java:1258) 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:324) 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://www.mail-archive.com/users@maven.apache.org - post the output of maven -e to JIRA at http://jira.codehaus.org/browse/MAVEN (you must sign up first) - run 'maven --info' and post the output as the environment to the bug above Total time : 0 seconds Finished at : Tuesday, April 11, 2006 11:35:52 AM EDT C:\dev\maven-test> -- 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