portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 臧冬松 <zan...@ihep.ac.cn>
Subject jetspeed-db:init {execution: seed} error
Date Fri, 28 Aug 2009 05:44:18 GMT
Hi,all 

Im a newer to jetspeed.while I follow 

http://portals.apache.org/jetspeed-2/tutorial/01/build-it.html

to run the command 

mvn Ce jetspeed:mvn -Dtarget=db-portal  >aaa.log

I got the following errors.

 

+ Error stacktraces are turned on.

[INFO] Scanning for projects...

[INFO]
------------------------------------------------------------------------

[INFO] Building Jetspeed-2 Maven Invoker Configuration for My Portal

[INFO]    task-segment: [process-resources]

[INFO]
------------------------------------------------------------------------

[WARNING] POM for
'org.apache.portals.jetspeed-2:jetspeed-search:pom:2.2.0:compile' is
invalid.

 

Its dependencies (if any) will NOT be available to the current build.

[WARNING] POM for
'org.apache.portals.jetspeed-2:jetspeed-portlet-factory:pom:2.2.0:compile'
is inva

lid.

 

Its dependencies (if any) will NOT be available to the current build.

[INFO] [jetspeed-db:init {execution: unpack}]

[INFO] [jetspeed-db:init {execution: execute-sql}]

[INFO] Running sql scripts against:
jdbc:derby:/home/donal/j2tutorial/derby/productiondb;create=true

 for user:

[INFO] Executing SQL script file:
/home/donal/j2tutorial/jetexpress/jetexpress-portal/target/ddl/der

by/drop-schema.sql

[INFO] Executing SQL script file:
/home/donal/j2tutorial/jetexpress/jetexpress-portal/target/ddl/der

by/create-schema.sql

[INFO] [jetspeed-db:init {execution: seed}]

log4j:WARN No appenders could be found for logger
(org.apache.jetspeed.components.JetspeedBeanDefini

tionFilter).

log4j:WARN Please initialize the log4j system properly.

##### platform = Hsqldb

org.springframework.beans.factory.BeanCreationException: Error creating bean
with name '_portletDefi

nitionImplPortletPreferencesProviderInitializer' defined in file
[/home/donal/j2tutorial/jetexpress/

jetexpress-portal/target/jetexpress-portal-1.0-SNAPSHOT/WEB-INF/assembly/sta
tic-bean-references.xml]

: Cannot resolve reference to bean
'org.apache.jetspeed.components.portletpreferences.PortletPrefere

ncesProvider' while setting bean property 'value'; nested exception is
org.springframework.beans.fac

tory.BeanCreationException: Error creating bean with name
'org.apache.jetspeed.components.portletpre

ferences.PortletPreferencesProvider' defined in file
[/home/donal/j2tutorial/jetexpress/jetexpress-p

ortal/target/jetexpress-portal-1.0-SNAPSHOT/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.pluto.services.PreferencesService' defined in file
[/home/donal/j2tutorial/jetexpress/j

etexpress-portal/target/jetexpress-portal-1.0-SNAPSHOT/WEB-INF/assembly/regi
stry.xml]: Cannot resolv

e reference to bean 'portletFactory' while setting constructor argument;
nested exception is org.spr

ingframework.beans.factory.BeanCreationException: Error creating bean with
name 'portletFactory' def

ined in file
[/home/donal/j2tutorial/jetexpress/jetexpress-portal/target/jetexpress-porta
l-1.0-SNAPS

HOT/WEB-INF/assembly/registry.xml]: Cannot resolve reference to bean
'org.apache.pluto.services.Requ

estDispatcherService' while setting constructor argument; nested exception
is org.springframework.be

ans.factory.CannotLoadBeanClassException: Cannot find class
[org.apache.pluto.container.impl.Request

DispatcherServiceImpl] for bean with name
'org.apache.pluto.services.RequestDispatcherService' defin

ed in file
[/home/donal/j2tutorial/jetexpress/jetexpress-portal/target/jetexpress-porta
l-1.0-SNAPSHO

T/WEB-INF/assembly/pluto-services.xml]; nested exception is
java.lang.ClassNotFoundException: org.ap

ache.pluto.container.impl.RequestDispatcherServiceImpl

        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eReference(Be

anDefinitionValueResolver.java:275)




Mime
View raw message