jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandeep Warikoo" <warikoo.sand...@gmail.com>
Subject Re: [jira] Created: (JCR-404) Unable to compile jackrabbit source code
Date Wed, 19 Apr 2006 10:22:24 GMT
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 <marcel.reutegger@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
> >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message