You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Karan <ka...@resolution.com> on 2005/03/17 16:23:02 UTC
Where are struts-portlet.tld and struts-portlet.jar?
Hi,
Im using jBoss 4.0.1 and jBoss Portal v2.0.
I donwloaded jetspeed, the struts bridge and struts-demo from CVS.
I ran maven on the bridge and i successfully got the portal-bridges.jar
file.
However, the struts-demo is not compiling.
This is the error i get when i try to compile the demo:
----------------------------------------------
[karan@dell struts-demo]$ ll
total 28K
drwxrwxr-x 2 karan karan 4.0K Mar 17 08:40 CVS
-rw-rw-r-- 1 karan karan 932 Mar 17 08:40 maven.xml
-rw-rw-r-- 1 karan karan 797 Mar 17 08:40 project.properties
-rw-rw-r-- 1 karan karan 6.0K Mar 17 08:40 project.xml
drwxrwxr-x 5 karan karan 4.0K Mar 17 08:40 src
drwxrwxr-x 3 karan karan 4.0K Mar 17 08:40 xdocs
[karan@dell struts-demo]$ maven
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
org.apache.maven.MavenException: Error reading XML or initializing
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:156)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:232)
at org.apache.maven.MavenSession.initialize(MavenSession.java:172)
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(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)
--- Nested Exception ---
java.io.FileNotFoundException: Parent POM not found:
/home/karan/latest/struts-portlet/jakarta-jetspeed-2/applications/project.xml
at
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:230)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:232)
at org.apache.maven.MavenSession.initialize(MavenSession.java:172)
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(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://nagoya.apache.org/eyebrowse/SummarizeList?listName=users@maven.apache.org
- 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
Total time: 6 seconds
Finished at: Thu Mar 17 09:21:53 CST 2005
[karan@dell struts-demo]$
-------------------------------------------------
I have made the modifications as mentioned in README.txt that came with
the portals-bridge.
However, the doc says that I need struts-portlet.tld and struts-portlet.jar.
Where are these files?
Regards,
Karan
--
CM II
Resolution Systems Inc.
/-- never compromise. what if you compromise and lose? --/
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org