I've noticed you are building just pieces of the entire build (it
should work, but I almost always build with -Dtarget=all or min so Im
actually not sure)
Could you try following the quick start instructions with either....
1. the tutorial http://portals.apache.org/jetspeed-2/tutorial/index.html
2. the archetype
http://portals.apache.org/jetspeed-2/buildguide/jetspeed-archetype.html
and see if you have more luck with that approach?
if you do, then we can go back to running the demo-seed target ...
On Aug 27, 2009, at 7:41 PM, 臧冬松 wrote:
Hi,all
I’m trying to build jetspeed2 from souce code,and get error while I
try to excute:
mvn -e jetspeed:mvn -Dtarget=demo-seed > aaa.log
##### platform = Hsqldb
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name '_portletDefi
nitionImplPortletPreferencesProviderInitializer' defined in file [/
home/donal/jetspeed-2-2.2.0/appli
cations/jetspeed-demo/target/jetspeed-demo-2.2.0/WEB-INF/assembly/
static-bean-references.xml]: Canno
t resolve reference to bean
'org
.apache.jetspeed.components.portletpreferences.PortletPreferencesPro
vider' while setting bean property 'value'; nested exception is
org.springframework.beans.factory.Be
anCreationException: Error creating bean with name
'org.apache.jetspeed.components.portletpreference
s.PortletPreferencesProvider' defined in file [/home/donal/
jetspeed-2-2.2.0/applications/jetspeed-de
mo/target/jetspeed-demo-2.2.0/WEB-INF/assembly/registry.xml]: Cannot
resolve reference to bean 'org.
apache.pluto.services.PreferencesService' while setting bean
property 'target'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.apache.p
luto.services.PreferencesService' defined in file [/home/donal/
jetspeed-2-2.2.0/applications/jetspee
d-demo/target/jetspeed-demo-2.2.0/WEB-INF/assembly/registry.xml]:
Cannot resolve reference to bean '
portletFactory' while setting constructor argument; nested exception
is org.springframework.beans.fa
ctory.BeanCreationException: Error creating bean with name
'portletFactory' defined in file [/home/d
onal/jetspeed-2-2.2.0/applications/jetspeed-demo/target/jetspeed-
demo-2.2.0/WEB-INF/assembly/registr
y.xml]: Cannot resolve reference to bean
'org.apache.pluto.services.RequestDispatcherService' while
setting constructor argument; nested exception is
org.springframework.beans.factory.CannotLoadBeanCl
assException: Cannot find class
[org.apache.pluto.container.impl.RequestDispatcherServiceImpl] for b
ean with name 'org.apache.pluto.services.RequestDispatcherService'
defined in file [/home/donal/jets
peed-2-2.2.0/applications/jetspeed-demo/target/jetspeed-demo-2.2.0/
WEB-INF/assembly/pluto-services.x
ml]; nested exception is java.lang.ClassNotFoundException:
org.apache.pluto.container.impl.RequestDi
spatcherServiceImpl
anyone can help?
thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]