You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Sandeep Warikoo (JIRA)" <ji...@apache.org> on 2006/04/19 08:03:18 UTC
[jira] Created: (JCR-404) Unable to compile jackrabbit source code
Unable to compile jackrabbit source code
----------------------------------------
Key: JCR-404
URL: http://issues.apache.org/jira/browse/JCR-404
Project: Jackrabbit
Type: Bug
Versions: 1.0
Environment: Win XP
Reporter: Sandeep Warikoo
I am getting following error when I try to build Jackrabbit through maven:
*****************************************************************************************************************
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.1-beta-2
DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml
java.lang.NoClassDefFoundError: org/apache/velocity/exception/MethodInvocationException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at org.apache.commons.jelly.tags.velocity.VelocityTagLibrary.class$(VelocityTagLibrary.java:27)
at org.apache.commons.jelly.tags.velocity.VelocityTagLibrary.<init>(VelocityTagLibrary.java:31)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java:466)
at org.apache.maven.jelly.MavenJellyContext.getTagLibrary(MavenJellyContext.java:173)
at org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java:449)
at org.apache.maven.jelly.MavenJellyContext.getTagLibrary(MavenJellyContext.java:173)
at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:979)
at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:593)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1672)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:254)
at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:222)
at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:180)
at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:146)
at org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:1135)
at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:1161)
at org.apache.maven.plugin.PluginManager.initialiseHousingPluginContext(PluginManager.java:792)
at org.apache.maven.plugin.PluginManager.prepAttainGoal(PluginManager.java:747)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:678)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:511)
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://issues.apache.org/jira/browse/JCR (you must sign up first)
- run 'maven --info' and post the output as the environment to the bug above
Total time : 1 seconds
Finished at : Wednesday, April 19, 2006 11:16:59 AM GMT+05:30
************************************************************************************************************************
maven -- info shows:
************************************************************************************************************************
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.1-beta-2
----- Environment
java.version=1.4.2_04
file.encoding=Cp1252
java.ext.dirs=D:\j2sdk1.4.2_04\jre\lib\ext
java.class.path=D:\Program Files\Apache Software Foundation\Maven 1.1-beta-2\lib\forehead-1.0-beta-5.jar
os.name=Windows XP
java.vendor=Sun Microsystems Inc.
sun.boot.class.path=D:\j2sdk1.4.2_04\jre\lib\rt.jar;D:\j2sdk1.4.2_04\jre\lib\i18n.jar;D:\j2sdk1.4.2_04\jre\lib\sunrsasign.jar;D:\j2sdk1.4.2_04\jre\lib\jsse.jar;D:\j2sdk1.4.2_04\jre\lib\jce.jar;D:\j2sdk1.4.2_04\jre\lib\charsets.jar;D:\j2sdk1.4.2_04\jre\classes
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
-----
Installed plugins :
maven-abbot-plugin-1.1
maven-announcement-plugin-1.3
maven-ant-plugin-1.9
maven-antlr-plugin-1.2.1
maven-artifact-plugin-1.6
maven-aspectj-plugin-3.2
maven-castor-plugin-1.2
maven-changelog-plugin-1.8.2
maven-changes-plugin-1.5.1
maven-checkstyle-plugin-2.5
maven-clean-plugin-1.3
maven-clover-plugin-1.10
maven-console-plugin-1.1
maven-cruisecontrol-plugin-1.7
maven-dashboard-plugin-1.8
maven-developer-activity-plugin-1.5.2
maven-dist-plugin-1.6.1
maven-ear-plugin-1.7
maven-eclipse-plugin-1.9
maven-ejb-plugin-1.7.1
maven-faq-plugin-1.5
maven-file-activity-plugin-1.5.2
maven-gump-plugin-2.0.1
maven-hibernate-plugin-1.3
maven-html2xdoc-plugin-1.3.1
maven-idea-plugin-1.6
maven-j2ee-plugin-1.5.1
maven-jalopy-plugin-1.3.1
maven-jar-plugin-1.7
maven-java-plugin-1.5
maven-javacc-plugin-1.1
maven-javadoc-plugin-1.7
maven-jboss-plugin-1.5
maven-jbuilder-plugin-1.5
maven-jcoverage-plugin-1.0.9
maven-jdepend-plugin-1.5
maven-jdiff-plugin-1.5
maven-jellydoc-plugin-1.3.1
maven-jetty-plugin-1.1
maven-jira-plugin-1.1.2
maven-jnlp-plugin-1.4.1
maven-junit-report-plugin-1.5
maven-jxr-plugin-1.4.3
maven-license-plugin-1.2
maven-linkcheck-plugin-1.3.4
maven-multichanges-plugin-1.1
maven-multiproject-plugin-1.4.1
maven-native-plugin-1.1
maven-nsis-plugin-1.1
maven-pdf-plugin-2.4
maven-plugin-plugin-1.6
maven-pmd-plugin-1.7
maven-pom-plugin-1.4.1
maven-rar-plugin-1.0
maven-release-plugin-1.4.1
maven-repository-plugin-1.2
maven-scm-plugin-1.5
maven-simian-plugin-1.5
maven-site-plugin-1.6.1
maven-tasklist-plugin-2.4
maven-test-plugin-1.7
maven-uberjar-plugin-1.2
maven-war-plugin-1.6.1
maven-xdoc-plugin-1.9.2
Home Build properties : {maven.proxy.username=sandeep_warikoo, maven.proxy.port=8080, maven.proxy.password=Pingala0, maven.proxy.host=ptproxy.persistent.co.in}
***************************************************************************************************************************
Please let me know if you need some more information
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
Re: [jira] Created: (JCR-404) Unable to compile jackrabbit source code
Posted by Sandeep Warikoo <wa...@gmail.com>.
Hi Marcel,
I have been able to build jackrabbit successfull after re-downloading the
those jar files. I think the problem may have arised as those jar files got
downloaded using 1.1-beta-2 version.
Thanks for all the help during last two days.
On 4/20/06, Marcel Reutegger <ma...@gmx.net> wrote:
>
> seems like you have a corrupt jar file. you should delete it from your
> local maven repository and let maven download it again.
>
> regards
> marcel
>
> Sandeep Warikoo wrote:
> > Hi Marcel,
> >
> > When I tried to view contents of commons-collections-3.1.jar through
> "jar tf
> > commons-collections-3.1.jar", I got followig error in it:
> >
> >
> ************************************************************************************
> > java.io.EOFException: Unexpected end of ZLIB input stream
> > at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:215)
> > at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
> > at java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
> > at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:91)
> > at sun.tools.jar.Main.list(Main.java:744)
> > at sun.tools.jar.Main.run(Main.java:192)
> > at sun.tools.jar.Main.main(Main.java:904)
> >
> **************************************************************************************
> >
> > Could this be the cause of build problem?
> >
> > I have attached the entire output of "jat tf" with this mail.
> >
> >
> > On 4/19/06, Marcel Reutegger <ma...@gmx.net> wrote:
> >> Sandeep Warikoo wrote:
> >>> Hi,
> >>>
> >>> Though I am not familiar my maven, here is a snippet from
> project.xmlwhich
> >>> shows the version used is 3.1
> >>>
> >>>
> >>>
> >>
> **************************************************************************************
> >>> <dependency>
> >>> <!-- Commons Collections -->
> >>> <groupId>commons-collections</groupId>
> >>> <artifactId>commons-collections</artifactId>
> >>> <version>3.1</version>
> >>> <url>http://jakarta.apache.org/commons/collections/</url>
> >>> <!--
> >>> Advanced collection classes, utilities and data
> >> structures
> >>> used internally by Jackrabbit.
> >>> -->
> >>> </dependency>
> >>>
> >>
> ************************************************************************************
> >>> I had installed jackrabbit code base using svn (svn checkout
> >>> http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit) as per
> >>> instructions given at http://jackrabbit.apache.org/doc/building.html .
> >>>
> >>> I did some search on my hard disk and it looks like it had installed
> >> those
> >>> dependent libraries at home folder.
> >>>
> >>> I can find the common collection jar at: C:\Documents and
> >>> Settings\sandeep_warikoo\.maven\repository\commons-collections\jars
> >>>
> >>> Did I miss dome default over-ridding?
> >> looks like everything is ok. If you are not able to build jackrabbit
> >> from the sources and still want to get started, I suggest you use the
> >> 1.0 release:
> >> http://jackrabbit.apache.org/downloads.cgi
> >>
> >> regards
> >> marcel
> >>
> >
>
>
Re: [jira] Created: (JCR-404) Unable to compile jackrabbit source
code
Posted by Marcel Reutegger <ma...@gmx.net>.
seems like you have a corrupt jar file. you should delete it from your
local maven repository and let maven download it again.
regards
marcel
Sandeep Warikoo wrote:
> Hi Marcel,
>
> When I tried to view contents of commons-collections-3.1.jar through "jar tf
> commons-collections-3.1.jar", I got followig error in it:
>
> ************************************************************************************
> java.io.EOFException: Unexpected end of ZLIB input stream
> at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:215)
> at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
> at java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
> at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:91)
> at sun.tools.jar.Main.list(Main.java:744)
> at sun.tools.jar.Main.run(Main.java:192)
> at sun.tools.jar.Main.main(Main.java:904)
> **************************************************************************************
>
> Could this be the cause of build problem?
>
> I have attached the entire output of "jat tf" with this mail.
>
>
> On 4/19/06, Marcel Reutegger <ma...@gmx.net> wrote:
>> Sandeep Warikoo wrote:
>>> Hi,
>>>
>>> Though I am not familiar my maven, here is a snippet from project.xmlwhich
>>> shows the version used is 3.1
>>>
>>>
>>>
>> **************************************************************************************
>>> <dependency>
>>> <!-- Commons Collections -->
>>> <groupId>commons-collections</groupId>
>>> <artifactId>commons-collections</artifactId>
>>> <version>3.1</version>
>>> <url>http://jakarta.apache.org/commons/collections/</url>
>>> <!--
>>> Advanced collection classes, utilities and data
>> structures
>>> used internally by Jackrabbit.
>>> -->
>>> </dependency>
>>>
>> ************************************************************************************
>>> I had installed jackrabbit code base using svn (svn checkout
>>> http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit) as per
>>> instructions given at http://jackrabbit.apache.org/doc/building.html .
>>>
>>> I did some search on my hard disk and it looks like it had installed
>> those
>>> dependent libraries at home folder.
>>>
>>> I can find the common collection jar at: C:\Documents and
>>> Settings\sandeep_warikoo\.maven\repository\commons-collections\jars
>>>
>>> Did I miss dome default over-ridding?
>> looks like everything is ok. If you are not able to build jackrabbit
>> from the sources and still want to get started, I suggest you use the
>> 1.0 release:
>> http://jackrabbit.apache.org/downloads.cgi
>>
>> regards
>> marcel
>>
>
Re: [jira] Created: (JCR-404) Unable to compile jackrabbit source code
Posted by Sandeep Warikoo <wa...@gmail.com>.
Hi Marcel,
When I tried to view contents of commons-collections-3.1.jar through "jar tf
commons-collections-3.1.jar", I got followig error in it:
************************************************************************************
java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:215)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:91)
at sun.tools.jar.Main.list(Main.java:744)
at sun.tools.jar.Main.run(Main.java:192)
at sun.tools.jar.Main.main(Main.java:904)
**************************************************************************************
Could this be the cause of build problem?
I have attached the entire output of "jat tf" with this mail.
On 4/19/06, Marcel Reutegger <ma...@gmx.net> wrote:
>
> Sandeep Warikoo wrote:
> > Hi,
> >
> > Though I am not familiar my maven, here is a snippet from project.xmlwhich
> > shows the version used is 3.1
> >
> >
> >
> **************************************************************************************
> > <dependency>
> > <!-- Commons Collections -->
> > <groupId>commons-collections</groupId>
> > <artifactId>commons-collections</artifactId>
> > <version>3.1</version>
> > <url>http://jakarta.apache.org/commons/collections/</url>
> > <!--
> > Advanced collection classes, utilities and data
> structures
> > used internally by Jackrabbit.
> > -->
> > </dependency>
> >
> ************************************************************************************
> >
> > I had installed jackrabbit code base using svn (svn checkout
> > http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit) as per
> > instructions given at http://jackrabbit.apache.org/doc/building.html .
> >
> > I did some search on my hard disk and it looks like it had installed
> those
> > dependent libraries at home folder.
> >
> > I can find the common collection jar at: C:\Documents and
> > Settings\sandeep_warikoo\.maven\repository\commons-collections\jars
> >
> > Did I miss dome default over-ridding?
>
> looks like everything is ok. If you are not able to build jackrabbit
> from the sources and still want to get started, I suggest you use the
> 1.0 release:
> http://jackrabbit.apache.org/downloads.cgi
>
> regards
> marcel
>
Re: [jira] Created: (JCR-404) Unable to compile jackrabbit source
code
Posted by Marcel Reutegger <ma...@gmx.net>.
Sandeep Warikoo wrote:
> Hi,
>
> Though I am not familiar my maven, here is a snippet from project.xml which
> shows the version used is 3.1
>
>
> **************************************************************************************
> <dependency>
> <!-- Commons Collections -->
> <groupId>commons-collections</groupId>
> <artifactId>commons-collections</artifactId>
> <version>3.1</version>
> <url>http://jakarta.apache.org/commons/collections/</url>
> <!--
> Advanced collection classes, utilities and data structures
> used internally by Jackrabbit.
> -->
> </dependency>
> ************************************************************************************
>
> I had installed jackrabbit code base using svn (svn checkout
> http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit) as per
> instructions given at http://jackrabbit.apache.org/doc/building.html .
>
> I did some search on my hard disk and it looks like it had installed those
> dependent libraries at home folder.
>
> I can find the common collection jar at: C:\Documents and
> Settings\sandeep_warikoo\.maven\repository\commons-collections\jars
>
> Did I miss dome default over-ridding?
looks like everything is ok. If you are not able to build jackrabbit
from the sources and still want to get started, I suggest you use the
1.0 release:
http://jackrabbit.apache.org/downloads.cgi
regards
marcel
Re: [jira] Created: (JCR-404) Unable to compile jackrabbit source code
Posted by Sandeep Warikoo <wa...@gmail.com>.
Hi,
Though I am not familiar my maven, here is a snippet from project.xml which
shows the version used is 3.1
**************************************************************************************
<dependency>
<!-- Commons Collections -->
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.1</version>
<url>http://jakarta.apache.org/commons/collections/</url>
<!--
Advanced collection classes, utilities and data structures
used internally by Jackrabbit.
-->
</dependency>
************************************************************************************
I had installed jackrabbit code base using svn (svn checkout
http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit) as per
instructions given at http://jackrabbit.apache.org/doc/building.html .
I did some search on my hard disk and it looks like it had installed those
dependent libraries at home folder.
I can find the common collection jar at: C:\Documents and
Settings\sandeep_warikoo\.maven\repository\commons-collections\jars
Did I miss dome default over-ridding?
On 4/19/06, Marcel Reutegger <ma...@gmx.net> wrote:
>
> Sandeep Warikoo wrote:
> > Hi Marcel,
> >
> > Thanks for the reply. I was able to move forward after using Maven 1.0.2
> ,
> > but still ran into following errors:
> >
> > ********************************************************************
> >
> > build:start:
> >
> > java:prepare-filesystem:
> >
> > java:compile:
> >
> > [echo] Compiling to E:\jackrabbit/target/classes
> >
> > [javac] Compiling 414 source files to E:\jackrabbit\target\classes
> >
> >
> E:\jackrabbit\src\main\java\org\apache\jackrabbit\core\SessionImpl.java:18:
> > package org.apache.commons.collections.map does not exist
> >
> > import org.apache.commons.collections.map.ReferenceMap;
>
> those classes should all be available in commons-collection 3.1
>
> can you please make sure you have an up-to-date version of the
> jackrabbit project.xml file, which references the 3.1 version of
> commons-collection?
>
> regards
> marcel
>
Re: [jira] Created: (JCR-404) Unable to compile jackrabbit source
code
Posted by Marcel Reutegger <ma...@gmx.net>.
Sandeep Warikoo wrote:
> Hi Marcel,
>
> Thanks for the reply. I was able to move forward after using Maven 1.0.2,
> but still ran into following errors:
>
> ********************************************************************
>
> build:start:
>
> java:prepare-filesystem:
>
> java:compile:
>
> [echo] Compiling to E:\jackrabbit/target/classes
>
> [javac] Compiling 414 source files to E:\jackrabbit\target\classes
>
> E:\jackrabbit\src\main\java\org\apache\jackrabbit\core\SessionImpl.java:18:
> package org.apache.commons.collections.map does not exist
>
> import org.apache.commons.collections.map.ReferenceMap;
those classes should all be available in commons-collection 3.1
can you please make sure you have an up-to-date version of the
jackrabbit project.xml file, which references the 3.1 version of
commons-collection?
regards
marcel
Re: [jira] Created: (JCR-404) Unable to compile jackrabbit source code
Posted by Sandeep Warikoo <wa...@gmail.com>.
Hi Marcel,
Thanks for the reply. I was able to move forward after using Maven 1.0.2,
but still ran into following errors:
********************************************************************
build:start:
java:prepare-filesystem:
java:compile:
[echo] Compiling to E:\jackrabbit/target/classes
[javac] Compiling 414 source files to E:\jackrabbit\target\classes
E:\jackrabbit\src\main\java\org\apache\jackrabbit\core\SessionImpl.java:18:
package org.apache.commons.collections.map does not exist
import org.apache.commons.collections.map.ReferenceMap;
^
E:\jackrabbit\src\main\java\org\apache\jackrabbit\core\nodetype\NodeTypeRegistry.java:18:
package org.apache.commons.collections.map does not exist
import org.apache.commons.collections.map.ReferenceMap;
^
E:\jackrabbit\src\main\java\org\apache\jackrabbit\core\state\NodeState.java:18:
package org.apache.commons.collections does not exist
import org.apache.commons.collections.MapIterator;
^
E:\jackrabbit\src\main\java\org\apache\jackrabbit\core\state\NodeState.java:19:
package org.apache.commons.collections does not exist
import org.apache.commons.collections.OrderedMapIterator;
^
E:\jackrabbit\src\main\java\org\apache\jackrabbit\core\state\NodeState.java:20:
package org.apache.commons.collections.map does not exist
import org.apache.commons.collections.map.LinkedMap;
...
...
...
Note:
E:\jackrabbit\target\generated-src\main\java\org\apache\jackrabbit\core\query\xpath\XPath.java
uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
100 errors
BUILD FAILED
File...... C:\Documents and Settings\sandeep_warikoo\.maven\cache\maven-
java-plugin-1.5\plugin.jelly
Element... ant:javac
Line...... 63
Column.... 48
Compile failed; see the compiler error output for details.
Total time: 11 seconds
Finished at: Wed Apr 19 15:49:43 GMT+05:30 2006
********************************************************************
Regards,
Sandeep
On 4/19/06, Marcel Reutegger <ma...@gmx.net> wrote:
>
> building jackrabbit with maven 1.1-beta-2 is not tested and we don't
> recommend using that maven version. please use the stable maven build
> 1.0.2
>
> regards
> marcel
>
> Sandeep Warikoo (JIRA) wrote:
> > Unable to compile jackrabbit source code
> > ----------------------------------------
> >
> > Key: JCR-404
> > URL: http://issues.apache.org/jira/browse/JCR-404
> > Project: Jackrabbit
> > Type: Bug
> >
> > Versions: 1.0
> > Environment: Win XP
> > Reporter: Sandeep Warikoo
> >
> >
> > I am getting following error when I try to build Jackrabbit through
> maven:
> >
> >
> *****************************************************************************************************************
> > __ __
> > | \/ |__ _Apache__ ___
> > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> > |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-2
> >
> > DEPRECATED: the default goal should be specified in the <build> section
> of project.xml instead of maven.xml
> > java.lang.NoClassDefFoundError:
> org/apache/velocity/exception/MethodInvocationException
> > at java.lang.Class.forName0(Native Method)
> > at java.lang.Class.forName(Class.java:141)
> > at
> org.apache.commons.jelly.tags.velocity.VelocityTagLibrary.class$(
> VelocityTagLibrary.java:27)
> > at org.apache.commons.jelly.tags.velocity.VelocityTagLibrary
> .<init>(VelocityTagLibrary.java:31)
> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> > at sun.reflect.NativeConstructorAccessorImpl.newInstance(
> NativeConstructorAccessorImpl.java:39)
> > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
> DelegatingConstructorAccessorImpl.java:27)
> > at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> > at java.lang.Class.newInstance0(Class.java:308)
> > at java.lang.Class.newInstance(Class.java:261)
> > at org.apache.commons.jelly.JellyContext.getTagLibrary(
> JellyContext.java:466)
> > at org.apache.maven.jelly.MavenJellyContext.getTagLibrary(
> MavenJellyContext.java:173)
> > at org.apache.commons.jelly.JellyContext.getTagLibrary(
> JellyContext.java:449)
> > at org.apache.maven.jelly.MavenJellyContext.getTagLibrary(
> MavenJellyContext.java:173)
> > at org.apache.commons.jelly.parser.XMLParser.createTag(
> XMLParser.java:979)
> > at org.apache.commons.jelly.parser.XMLParser.startElement(
> XMLParser.java:593)
> > at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java
> :1672)
> > at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
> > at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java
> :1691)
> > at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
> > at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java
> :1691)
> > at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
> > at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java
> :1691)
> > at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java
> :667)
> > at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
> > at org.apache.crimson.parser.XMLReaderImpl.parse(
> XMLReaderImpl.java:448)
> > at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java
> :254)
> > at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java
> :222)
> > at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java
> :180)
> > at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java
> :146)
> > at org.apache.maven.plugin.PluginManager.loadScript(
> PluginManager.java:1135)
> > at org.apache.maven.plugin.PluginManager.runScript(
> PluginManager.java:1161)
> > at
> org.apache.maven.plugin.PluginManager.initialiseHousingPluginContext(
> PluginManager.java:792)
> > at org.apache.maven.plugin.PluginManager.prepAttainGoal(
> PluginManager.java:747)
> > at org.apache.maven.plugin.PluginManager.attainGoals(
> PluginManager.java:678)
> > at org.apache.maven.MavenSession.attainGoals(MavenSession.java
> :263)
> > at org.apache.maven.cli.App.doMain(App.java:511)
> > 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://issues.apache.org/jira/browse/JCR (you must sign up first)
> > - run 'maven --info' and post the output as the environment to the bug
> above
> >
> > Total time : 1 seconds
> > Finished at : Wednesday, April 19, 2006 11:16:59 AM GMT+05:30
> >
> >
> ************************************************************************************************************************
> >
> >
> >
> > maven -- info shows:
> >
> >
> ************************************************************************************************************************
> > __ __
> > | \/ |__ _Apache__ ___
> > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> > |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-2
> >
> > ----- Environment
> > java.version=1.4.2_04
> > file.encoding=Cp1252
> > java.ext.dirs=D:\j2sdk1.4.2_04\jre\lib\ext
> > java.class.path=D:\Program Files\Apache Software Foundation\Maven
> 1.1-beta-2\lib\forehead-1.0-beta-5.jar
> > os.name=Windows XP
> > java.vendor=Sun Microsystems Inc.
> > sun.boot.class.path=D:\j2sdk1.4.2_04\jre\lib\rt.jar
> ;D:\j2sdk1.4.2_04\jre\lib\i18n.jar;D:\j2sdk1.4.2_04\jre\lib\sunrsasign.jar;D:\j2sdk1.4.2_04\jre\lib\jsse.jar;D:\j2sdk1.4.2_04\jre\lib\jce.jar;D:\j2sdk1.4.2_04\jre\lib\charsets.jar;D:\j2sdk1.4.2_04\jre\classes
> > java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
> > -----
> >
> > Installed plugins :
> > maven-abbot-plugin-1.1
> > maven-announcement-plugin-1.3
> > maven-ant-plugin-1.9
> > maven-antlr-plugin-1.2.1
> > maven-artifact-plugin-1.6
> > maven-aspectj-plugin-3.2
> > maven-castor-plugin-1.2
> > maven-changelog-plugin-1.8.2
> > maven-changes-plugin-1.5.1
> > maven-checkstyle-plugin-2.5
> > maven-clean-plugin-1.3
> > maven-clover-plugin-1.10
> > maven-console-plugin-1.1
> > maven-cruisecontrol-plugin-1.7
> > maven-dashboard-plugin-1.8
> > maven-developer-activity-plugin-1.5.2
> > maven-dist-plugin-1.6.1
> > maven-ear-plugin-1.7
> > maven-eclipse-plugin-1.9
> > maven-ejb-plugin-1.7.1
> > maven-faq-plugin-1.5
> > maven-file-activity-plugin-1.5.2
> > maven-gump-plugin-2.0.1
> > maven-hibernate-plugin-1.3
> > maven-html2xdoc-plugin-1.3.1
> > maven-idea-plugin-1.6
> > maven-j2ee-plugin-1.5.1
> > maven-jalopy-plugin-1.3.1
> > maven-jar-plugin-1.7
> > maven-java-plugin-1.5
> > maven-javacc-plugin-1.1
> > maven-javadoc-plugin-1.7
> > maven-jboss-plugin-1.5
> > maven-jbuilder-plugin-1.5
> > maven-jcoverage-plugin-1.0.9
> > maven-jdepend-plugin-1.5
> > maven-jdiff-plugin-1.5
> > maven-jellydoc-plugin-1.3.1
> > maven-jetty-plugin-1.1
> > maven-jira-plugin-1.1.2
> > maven-jnlp-plugin-1.4.1
> > maven-junit-report-plugin-1.5
> > maven-jxr-plugin-1.4.3
> > maven-license-plugin-1.2
> > maven-linkcheck-plugin-1.3.4
> > maven-multichanges-plugin-1.1
> > maven-multiproject-plugin-1.4.1
> > maven-native-plugin-1.1
> > maven-nsis-plugin-1.1
> > maven-pdf-plugin-2.4
> > maven-plugin-plugin-1.6
> > maven-pmd-plugin-1.7
> > maven-pom-plugin-1.4.1
> > maven-rar-plugin-1.0
> > maven-release-plugin-1.4.1
> > maven-repository-plugin-1.2
> > maven-scm-plugin-1.5
> > maven-simian-plugin-1.5
> > maven-site-plugin-1.6.1
> > maven-tasklist-plugin-2.4
> > maven-test-plugin-1.7
> > maven-uberjar-plugin-1.2
> > maven-war-plugin-1.6.1
> > maven-xdoc-plugin-1.9.2
> > Home Build properties : {maven.proxy.username=sandeep_warikoo,
> maven.proxy.port=8080, maven.proxy.password=Pingala0,
> maven.proxy.host=ptproxy.persistent.co.in}
> >
> ***************************************************************************************************************************
> >
> > Please let me know if you need some more information
> >
>
>
Re: [jira] Created: (JCR-404) Unable to compile jackrabbit source
code
Posted by Marcel Reutegger <ma...@gmx.net>.
building jackrabbit with maven 1.1-beta-2 is not tested and we don't
recommend using that maven version. please use the stable maven build 1.0.2
regards
marcel
Sandeep Warikoo (JIRA) wrote:
> Unable to compile jackrabbit source code
> ----------------------------------------
>
> Key: JCR-404
> URL: http://issues.apache.org/jira/browse/JCR-404
> Project: Jackrabbit
> Type: Bug
>
> Versions: 1.0
> Environment: Win XP
> Reporter: Sandeep Warikoo
>
>
> I am getting following error when I try to build Jackrabbit through maven:
>
> *****************************************************************************************************************
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-2
>
> DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml
> java.lang.NoClassDefFoundError: org/apache/velocity/exception/MethodInvocationException
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> at org.apache.commons.jelly.tags.velocity.VelocityTagLibrary.class$(VelocityTagLibrary.java:27)
> at org.apache.commons.jelly.tags.velocity.VelocityTagLibrary.<init>(VelocityTagLibrary.java:31)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> at java.lang.Class.newInstance0(Class.java:308)
> at java.lang.Class.newInstance(Class.java:261)
> at org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java:466)
> at org.apache.maven.jelly.MavenJellyContext.getTagLibrary(MavenJellyContext.java:173)
> at org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java:449)
> at org.apache.maven.jelly.MavenJellyContext.getTagLibrary(MavenJellyContext.java:173)
> at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:979)
> at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:593)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1672)
> at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
> at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
> at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
> at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
> at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
> at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
> at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:254)
> at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:222)
> at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:180)
> at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:146)
> at org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:1135)
> at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:1161)
> at org.apache.maven.plugin.PluginManager.initialiseHousingPluginContext(PluginManager.java:792)
> at org.apache.maven.plugin.PluginManager.prepAttainGoal(PluginManager.java:747)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:678)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.cli.App.doMain(App.java:511)
> 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://issues.apache.org/jira/browse/JCR (you must sign up first)
> - run 'maven --info' and post the output as the environment to the bug above
>
> Total time : 1 seconds
> Finished at : Wednesday, April 19, 2006 11:16:59 AM GMT+05:30
>
> ************************************************************************************************************************
>
>
>
> maven -- info shows:
>
> ************************************************************************************************************************
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-2
>
> ----- Environment
> java.version=1.4.2_04
> file.encoding=Cp1252
> java.ext.dirs=D:\j2sdk1.4.2_04\jre\lib\ext
> java.class.path=D:\Program Files\Apache Software Foundation\Maven 1.1-beta-2\lib\forehead-1.0-beta-5.jar
> os.name=Windows XP
> java.vendor=Sun Microsystems Inc.
> sun.boot.class.path=D:\j2sdk1.4.2_04\jre\lib\rt.jar;D:\j2sdk1.4.2_04\jre\lib\i18n.jar;D:\j2sdk1.4.2_04\jre\lib\sunrsasign.jar;D:\j2sdk1.4.2_04\jre\lib\jsse.jar;D:\j2sdk1.4.2_04\jre\lib\jce.jar;D:\j2sdk1.4.2_04\jre\lib\charsets.jar;D:\j2sdk1.4.2_04\jre\classes
> java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
> -----
>
> Installed plugins :
> maven-abbot-plugin-1.1
> maven-announcement-plugin-1.3
> maven-ant-plugin-1.9
> maven-antlr-plugin-1.2.1
> maven-artifact-plugin-1.6
> maven-aspectj-plugin-3.2
> maven-castor-plugin-1.2
> maven-changelog-plugin-1.8.2
> maven-changes-plugin-1.5.1
> maven-checkstyle-plugin-2.5
> maven-clean-plugin-1.3
> maven-clover-plugin-1.10
> maven-console-plugin-1.1
> maven-cruisecontrol-plugin-1.7
> maven-dashboard-plugin-1.8
> maven-developer-activity-plugin-1.5.2
> maven-dist-plugin-1.6.1
> maven-ear-plugin-1.7
> maven-eclipse-plugin-1.9
> maven-ejb-plugin-1.7.1
> maven-faq-plugin-1.5
> maven-file-activity-plugin-1.5.2
> maven-gump-plugin-2.0.1
> maven-hibernate-plugin-1.3
> maven-html2xdoc-plugin-1.3.1
> maven-idea-plugin-1.6
> maven-j2ee-plugin-1.5.1
> maven-jalopy-plugin-1.3.1
> maven-jar-plugin-1.7
> maven-java-plugin-1.5
> maven-javacc-plugin-1.1
> maven-javadoc-plugin-1.7
> maven-jboss-plugin-1.5
> maven-jbuilder-plugin-1.5
> maven-jcoverage-plugin-1.0.9
> maven-jdepend-plugin-1.5
> maven-jdiff-plugin-1.5
> maven-jellydoc-plugin-1.3.1
> maven-jetty-plugin-1.1
> maven-jira-plugin-1.1.2
> maven-jnlp-plugin-1.4.1
> maven-junit-report-plugin-1.5
> maven-jxr-plugin-1.4.3
> maven-license-plugin-1.2
> maven-linkcheck-plugin-1.3.4
> maven-multichanges-plugin-1.1
> maven-multiproject-plugin-1.4.1
> maven-native-plugin-1.1
> maven-nsis-plugin-1.1
> maven-pdf-plugin-2.4
> maven-plugin-plugin-1.6
> maven-pmd-plugin-1.7
> maven-pom-plugin-1.4.1
> maven-rar-plugin-1.0
> maven-release-plugin-1.4.1
> maven-repository-plugin-1.2
> maven-scm-plugin-1.5
> maven-simian-plugin-1.5
> maven-site-plugin-1.6.1
> maven-tasklist-plugin-2.4
> maven-test-plugin-1.7
> maven-uberjar-plugin-1.2
> maven-war-plugin-1.6.1
> maven-xdoc-plugin-1.9.2
> Home Build properties : {maven.proxy.username=sandeep_warikoo, maven.proxy.port=8080, maven.proxy.password=Pingala0, maven.proxy.host=ptproxy.persistent.co.in}
> ***************************************************************************************************************************
>
> Please let me know if you need some more information
>
[jira] Resolved: (JCR-404) Unable to compile jackrabbit source code
Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JCR-404?page=all ]
Marcel Reutegger resolved JCR-404:
----------------------------------
Resolution: Invalid
Using Maven 1.1-beta to build jackrabbit is not supported.
> Unable to compile jackrabbit source code
> ----------------------------------------
>
> Key: JCR-404
> URL: http://issues.apache.org/jira/browse/JCR-404
> Project: Jackrabbit
> Type: Bug
> Versions: 1.0
> Environment: Win XP
> Reporter: Sandeep Warikoo
>
> I am getting following error when I try to build Jackrabbit through maven:
> *****************************************************************************************************************
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-2
> DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml
> java.lang.NoClassDefFoundError: org/apache/velocity/exception/MethodInvocationException
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> at org.apache.commons.jelly.tags.velocity.VelocityTagLibrary.class$(VelocityTagLibrary.java:27)
> at org.apache.commons.jelly.tags.velocity.VelocityTagLibrary.<init>(VelocityTagLibrary.java:31)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> at java.lang.Class.newInstance0(Class.java:308)
> at java.lang.Class.newInstance(Class.java:261)
> at org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java:466)
> at org.apache.maven.jelly.MavenJellyContext.getTagLibrary(MavenJellyContext.java:173)
> at org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java:449)
> at org.apache.maven.jelly.MavenJellyContext.getTagLibrary(MavenJellyContext.java:173)
> at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:979)
> at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:593)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1672)
> at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
> at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
> at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
> at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
> at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
> at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
> at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:254)
> at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:222)
> at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:180)
> at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:146)
> at org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:1135)
> at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:1161)
> at org.apache.maven.plugin.PluginManager.initialiseHousingPluginContext(PluginManager.java:792)
> at org.apache.maven.plugin.PluginManager.prepAttainGoal(PluginManager.java:747)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:678)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.cli.App.doMain(App.java:511)
> 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://issues.apache.org/jira/browse/JCR (you must sign up first)
> - run 'maven --info' and post the output as the environment to the bug above
> Total time : 1 seconds
> Finished at : Wednesday, April 19, 2006 11:16:59 AM GMT+05:30
> ************************************************************************************************************************
> maven -- info shows:
> ************************************************************************************************************************
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-2
> ----- Environment
> java.version=1.4.2_04
> file.encoding=Cp1252
> java.ext.dirs=D:\j2sdk1.4.2_04\jre\lib\ext
> java.class.path=D:\Program Files\Apache Software Foundation\Maven 1.1-beta-2\lib\forehead-1.0-beta-5.jar
> os.name=Windows XP
> java.vendor=Sun Microsystems Inc.
> sun.boot.class.path=D:\j2sdk1.4.2_04\jre\lib\rt.jar;D:\j2sdk1.4.2_04\jre\lib\i18n.jar;D:\j2sdk1.4.2_04\jre\lib\sunrsasign.jar;D:\j2sdk1.4.2_04\jre\lib\jsse.jar;D:\j2sdk1.4.2_04\jre\lib\jce.jar;D:\j2sdk1.4.2_04\jre\lib\charsets.jar;D:\j2sdk1.4.2_04\jre\classes
> java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
> -----
> Installed plugins :
> maven-abbot-plugin-1.1
> maven-announcement-plugin-1.3
> maven-ant-plugin-1.9
> maven-antlr-plugin-1.2.1
> maven-artifact-plugin-1.6
> maven-aspectj-plugin-3.2
> maven-castor-plugin-1.2
> maven-changelog-plugin-1.8.2
> maven-changes-plugin-1.5.1
> maven-checkstyle-plugin-2.5
> maven-clean-plugin-1.3
> maven-clover-plugin-1.10
> maven-console-plugin-1.1
> maven-cruisecontrol-plugin-1.7
> maven-dashboard-plugin-1.8
> maven-developer-activity-plugin-1.5.2
> maven-dist-plugin-1.6.1
> maven-ear-plugin-1.7
> maven-eclipse-plugin-1.9
> maven-ejb-plugin-1.7.1
> maven-faq-plugin-1.5
> maven-file-activity-plugin-1.5.2
> maven-gump-plugin-2.0.1
> maven-hibernate-plugin-1.3
> maven-html2xdoc-plugin-1.3.1
> maven-idea-plugin-1.6
> maven-j2ee-plugin-1.5.1
> maven-jalopy-plugin-1.3.1
> maven-jar-plugin-1.7
> maven-java-plugin-1.5
> maven-javacc-plugin-1.1
> maven-javadoc-plugin-1.7
> maven-jboss-plugin-1.5
> maven-jbuilder-plugin-1.5
> maven-jcoverage-plugin-1.0.9
> maven-jdepend-plugin-1.5
> maven-jdiff-plugin-1.5
> maven-jellydoc-plugin-1.3.1
> maven-jetty-plugin-1.1
> maven-jira-plugin-1.1.2
> maven-jnlp-plugin-1.4.1
> maven-junit-report-plugin-1.5
> maven-jxr-plugin-1.4.3
> maven-license-plugin-1.2
> maven-linkcheck-plugin-1.3.4
> maven-multichanges-plugin-1.1
> maven-multiproject-plugin-1.4.1
> maven-native-plugin-1.1
> maven-nsis-plugin-1.1
> maven-pdf-plugin-2.4
> maven-plugin-plugin-1.6
> maven-pmd-plugin-1.7
> maven-pom-plugin-1.4.1
> maven-rar-plugin-1.0
> maven-release-plugin-1.4.1
> maven-repository-plugin-1.2
> maven-scm-plugin-1.5
> maven-simian-plugin-1.5
> maven-site-plugin-1.6.1
> maven-tasklist-plugin-2.4
> maven-test-plugin-1.7
> maven-uberjar-plugin-1.2
> maven-war-plugin-1.6.1
> maven-xdoc-plugin-1.9.2
> Home Build properties : {maven.proxy.username=sandeep_warikoo, maven.proxy.port=8080, maven.proxy.password=Pingala0, maven.proxy.host=ptproxy.persistent.co.in}
> ***************************************************************************************************************************
> Please let me know if you need some more information
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (JCR-404) Unable to compile jackrabbit source code
Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JCR-404?page=all ]
Marcel Reutegger closed JCR-404:
--------------------------------
> Unable to compile jackrabbit source code
> ----------------------------------------
>
> Key: JCR-404
> URL: http://issues.apache.org/jira/browse/JCR-404
> Project: Jackrabbit
> Type: Bug
> Versions: 1.0
> Environment: Win XP
> Reporter: Sandeep Warikoo
>
> I am getting following error when I try to build Jackrabbit through maven:
> *****************************************************************************************************************
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-2
> DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml
> java.lang.NoClassDefFoundError: org/apache/velocity/exception/MethodInvocationException
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> at org.apache.commons.jelly.tags.velocity.VelocityTagLibrary.class$(VelocityTagLibrary.java:27)
> at org.apache.commons.jelly.tags.velocity.VelocityTagLibrary.<init>(VelocityTagLibrary.java:31)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> at java.lang.Class.newInstance0(Class.java:308)
> at java.lang.Class.newInstance(Class.java:261)
> at org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java:466)
> at org.apache.maven.jelly.MavenJellyContext.getTagLibrary(MavenJellyContext.java:173)
> at org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java:449)
> at org.apache.maven.jelly.MavenJellyContext.getTagLibrary(MavenJellyContext.java:173)
> at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:979)
> at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:593)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1672)
> at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
> at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
> at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
> at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
> at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
> at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
> at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:254)
> at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:222)
> at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:180)
> at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:146)
> at org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:1135)
> at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:1161)
> at org.apache.maven.plugin.PluginManager.initialiseHousingPluginContext(PluginManager.java:792)
> at org.apache.maven.plugin.PluginManager.prepAttainGoal(PluginManager.java:747)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:678)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.cli.App.doMain(App.java:511)
> 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://issues.apache.org/jira/browse/JCR (you must sign up first)
> - run 'maven --info' and post the output as the environment to the bug above
> Total time : 1 seconds
> Finished at : Wednesday, April 19, 2006 11:16:59 AM GMT+05:30
> ************************************************************************************************************************
> maven -- info shows:
> ************************************************************************************************************************
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-2
> ----- Environment
> java.version=1.4.2_04
> file.encoding=Cp1252
> java.ext.dirs=D:\j2sdk1.4.2_04\jre\lib\ext
> java.class.path=D:\Program Files\Apache Software Foundation\Maven 1.1-beta-2\lib\forehead-1.0-beta-5.jar
> os.name=Windows XP
> java.vendor=Sun Microsystems Inc.
> sun.boot.class.path=D:\j2sdk1.4.2_04\jre\lib\rt.jar;D:\j2sdk1.4.2_04\jre\lib\i18n.jar;D:\j2sdk1.4.2_04\jre\lib\sunrsasign.jar;D:\j2sdk1.4.2_04\jre\lib\jsse.jar;D:\j2sdk1.4.2_04\jre\lib\jce.jar;D:\j2sdk1.4.2_04\jre\lib\charsets.jar;D:\j2sdk1.4.2_04\jre\classes
> java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
> -----
> Installed plugins :
> maven-abbot-plugin-1.1
> maven-announcement-plugin-1.3
> maven-ant-plugin-1.9
> maven-antlr-plugin-1.2.1
> maven-artifact-plugin-1.6
> maven-aspectj-plugin-3.2
> maven-castor-plugin-1.2
> maven-changelog-plugin-1.8.2
> maven-changes-plugin-1.5.1
> maven-checkstyle-plugin-2.5
> maven-clean-plugin-1.3
> maven-clover-plugin-1.10
> maven-console-plugin-1.1
> maven-cruisecontrol-plugin-1.7
> maven-dashboard-plugin-1.8
> maven-developer-activity-plugin-1.5.2
> maven-dist-plugin-1.6.1
> maven-ear-plugin-1.7
> maven-eclipse-plugin-1.9
> maven-ejb-plugin-1.7.1
> maven-faq-plugin-1.5
> maven-file-activity-plugin-1.5.2
> maven-gump-plugin-2.0.1
> maven-hibernate-plugin-1.3
> maven-html2xdoc-plugin-1.3.1
> maven-idea-plugin-1.6
> maven-j2ee-plugin-1.5.1
> maven-jalopy-plugin-1.3.1
> maven-jar-plugin-1.7
> maven-java-plugin-1.5
> maven-javacc-plugin-1.1
> maven-javadoc-plugin-1.7
> maven-jboss-plugin-1.5
> maven-jbuilder-plugin-1.5
> maven-jcoverage-plugin-1.0.9
> maven-jdepend-plugin-1.5
> maven-jdiff-plugin-1.5
> maven-jellydoc-plugin-1.3.1
> maven-jetty-plugin-1.1
> maven-jira-plugin-1.1.2
> maven-jnlp-plugin-1.4.1
> maven-junit-report-plugin-1.5
> maven-jxr-plugin-1.4.3
> maven-license-plugin-1.2
> maven-linkcheck-plugin-1.3.4
> maven-multichanges-plugin-1.1
> maven-multiproject-plugin-1.4.1
> maven-native-plugin-1.1
> maven-nsis-plugin-1.1
> maven-pdf-plugin-2.4
> maven-plugin-plugin-1.6
> maven-pmd-plugin-1.7
> maven-pom-plugin-1.4.1
> maven-rar-plugin-1.0
> maven-release-plugin-1.4.1
> maven-repository-plugin-1.2
> maven-scm-plugin-1.5
> maven-simian-plugin-1.5
> maven-site-plugin-1.6.1
> maven-tasklist-plugin-2.4
> maven-test-plugin-1.7
> maven-uberjar-plugin-1.2
> maven-war-plugin-1.6.1
> maven-xdoc-plugin-1.9.2
> Home Build properties : {maven.proxy.username=sandeep_warikoo, maven.proxy.port=8080, maven.proxy.password=Pingala0, maven.proxy.host=ptproxy.persistent.co.in}
> ***************************************************************************************************************************
> Please let me know if you need some more information
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira