The following comment has been added to this issue:
Author: Deepak C Menon
Created: Thu, 4 Nov 2004 4:46 AM
Body:
Sorry, i forgot to explain the problem fully. I was trying to compile the
"hellocomponent" sample program which came with Apache Merlin.
I ran the maven command for the same, but it threw me the error which I had given. I
have already downloaded the commons.jelly.VelocityTagLibrary jar file and placed it in
the .maven\repository folder, but still the error is thrown. Any idea why this is
happening?
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MAVEN-1489?page=comments#action_26056
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1489
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1489
Summary: Error thrown while trying to compile the sample hello code.
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: 1 day
Time Spent: Unknown
Remaining: 1 day
Project: maven
Components:
jelly/ant integration
Fix Fors:
1.0
Versions:
1.0
Assignee:
Reporter: Deepak C Menon
Created: Wed, 3 Nov 2004 8:15 AM
Updated: Thu, 4 Nov 2004 4:46 AM
Environment: __ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0
#---- BEGIN: Which report
Which.version=Which.java:($Revision: 1.2 $) WhichJar.java:($Revision: 1.2 $)
java.version=1.4.1_01
file.encoding=Cp1252
java.ext.dirs=D:\j2sdk1.4.1\jre\lib\ext
java.class.path=C:\Program Files\Apache Software Foundation\Maven 1.0\lib\forehe
ad-1.0-beta-5.jar
os.name=Windows XP
java.vendor=Sun Microsystems Inc.
sun.boot.class.path=C:\Program Files\Apache Software Foundation\Maven 1.0\lib\en
dorsed\xerces-2.4.0.jar;C:\Program Files\Apache Software Foundation\Maven 1.0\li
b\endorsed\xml-apis-1.0.b2.jar;D:\j2sdk1.4.1\jre\lib\rt.jar;D:\j2sdk1.4.1\jre\li
b\i18n.jar;D:\j2sdk1.4.1\jre\lib\sunrsasign.jar;D:\j2sdk1.4.1\jre\lib\jsse.jar;D
:\j2sdk1.4.1\jre\lib\jce.jar;D:\j2sdk1.4.1\jre\lib\charsets.jar;D:\j2sdk1.4.1\jr
e\classes
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
#---- END: Which report
Installed plugins:
maven-abbot-plugin-1.0
maven-announcement-plugin-1.2
maven-ant-plugin-1.7
maven-antlr-plugin-1.2.1
maven-appserver-plugin-2.0
maven-artifact-plugin-1.4
maven-ashkelon-plugin-1.2
maven-aspectj-plugin-3.1.1
maven-aspectwerkz-plugin-1.2
maven-caller-plugin-1.1
maven-castor-plugin-1.2
maven-changelog-plugin-1.7.1
maven-changes-plugin-1.5
maven-checkstyle-plugin-2.4.1
maven-clean-plugin-1.3
maven-clover-plugin-1.5
maven-console-plugin-1.1
maven-cruisecontrol-plugin-1.4
maven-dashboard-plugin-1.3
maven-developer-activity-plugin-1.5
maven-dist-plugin-1.6
maven-docbook-plugin-1.2
maven-ear-plugin-1.5
maven-eclipse-plugin-1.7
maven-ejb-plugin-1.5
maven-faq-plugin-1.4
maven-file-activity-plugin-1.5
maven-genapp-plugin-2.2
maven-gump-plugin-1.4
maven-hibernate-plugin-1.1
maven-html2xdoc-plugin-1.3
maven-idea-plugin-1.5
maven-j2ee-plugin-1.5
maven-jalopy-plugin-1.3
maven-jar-plugin-1.6
maven-java-plugin-1.4
maven-javacc-plugin-1.1
maven-javadoc-plugin-1.6.1
maven-jboss-plugin-1.5
maven-jbuilder-plugin-1.5
maven-jcoverage-plugin-1.0.7
maven-jdee-plugin-1.1
maven-jdepend-plugin-1.5
maven-jdeveloper-plugin-1.4
maven-jdiff-plugin-1.4
maven-jellydoc-plugin-1.3
maven-jetty-plugin-1.1
maven-jira-plugin-1.1.1
maven-jnlp-plugin-1.4
maven-junit-doclet-plugin-1.2
maven-junit-report-plugin-1.5
maven-jxr-plugin-1.4.1
maven-latex-plugin-1.4.1
maven-latka-plugin-1.4.1
maven-license-plugin-1.2
maven-linkcheck-plugin-1.3.2
maven-multichanges-plugin-1.1
maven-multiproject-plugin-1.3.1
maven-native-plugin-1.1
maven-nsis-plugin-1.1
maven-pdf-plugin-2.1
maven-plugin-plugin-1.5.1
maven-pmd-plugin-1.5
maven-pom-plugin-1.4.1
maven-rar-plugin-1.0
maven-release-plugin-1.4
maven-repository-plugin-1.2
maven-scm-plugin-1.4
maven-shell-plugin-1.1
maven-simian-plugin-1.4
maven-site-plugin-1.5.1
maven-struts-plugin-1.3
maven-tasklist-plugin-2.3
maven-test-plugin-1.6.2
maven-tjdo-plugin-1.0.0
maven-uberjar-plugin-1.2
maven-vdoclet-plugin-1.2
maven-war-plugin-1.6
maven-webserver-plugin-2.0
maven-wizard-plugin-1.1
maven-xdoc-plugin-1.8
Exception reading build.properties: C:\Documents and Settings\108029\build.prope
rties (The system cannot find the file specified)
Home Build properties: {}
Description:
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0
java.lang.NoClassDefFoundError: org/apache/velocity/exception/MethodInvocationEx
ception
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.apache.commons.jelly.tags.velocity.VelocityTagLibrary.class$(Velo
cityTagLibrary.java:67)
at org.apache.commons.jelly.tags.velocity.VelocityTagLibrary.<init>(Velo
cityTagLibrary.java:71)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:306)
at java.lang.Class.newInstance(Class.java:259)
at org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java
:432)
at org.apache.maven.jelly.MavenJellyContext.getTagLibrary(MavenJellyCont
ext.java:171)
at org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java
:415)
at org.apache.maven.jelly.MavenJellyContext.getTagLibrary(MavenJellyCont
ext.java:171)
at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:10
33)
at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java
:647)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
ce)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unkn
own Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
own Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:299)
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:9
73)
at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:99
3)
at org.apache.maven.plugin.PluginManager.initialiseHousingPluginContext(
PluginManager.java:706)
at org.apache.maven.plugin.PluginManager.prepAttainGoal(PluginManager.ja
va:685)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
624)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
at org.apache.maven.cli.App.doMain(App.java:486)
at org.apache.maven.cli.App.main(App.java:1215)
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: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://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
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]