The following should fix your problem:

rm -r src/main/webapp/WEB-INF/lib
rm src/main/webapp/WEB-INF/classes/struts.xml

Matt

On 9/6/07, nessus <[EMAIL PROTECTED]> wrote:
>  hi all, following the quickstart instructions, I encounter an exception
> when running the mvn jetty:run, with all previous commands successfully run.
> The exception in the cmd shows:
> 1---------------------------------------------------------------------------------------------
> 2007-09-06 19:49:23.291::INFO: No Transaction manager found - if your webapp
> re quires one, please configure one. 2007-09-06 19:49:25.853:/:INFO:
> Initializing Spring root WebApplicationContext AbandonedObjectPool is used
> ([EMAIL PROTECTED])
> LogAbandoned: false RemoveAbandoned: true RemoveAbandonedTimeout: 60
> 2007-09-06 19:49:31.820::WARN: failed struts Unable to load bean: type:
> class:com.opensymphony.xwork2.ObjectFactory - bean -
> jar:file:/C:/Documents%20and%20Settings/Administrator/.m2/repository/org/apache/
> struts/struts2-core/2.0.9/struts2-core-2.0.9.jar!/struts-default.xml:8:72
> at
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.reg
> ister(XmlConfigurationProvider.java:208) at
> org.apache.struts2.config.StrutsXmlConfigurationProvider.register(Str
> utsXmlConfigurationProvider.java:101) at
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(Defau
> ltConfiguration.java:131) at
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(
> ConfigurationManager.java:52) at
> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Di
> spatcher.java:395) ... 45 more 2007-09-06 19:49:31.898::WARN: Failed startup
> of context org.mortbay.jetty.weba
> [EMAIL PROTECTED]/,C:\javaapp\etpay\src\main\webapp}
> Unable to load bean: type:
> class:com.opensymphony.xwork2.ObjectFactory - bean -
> jar:file:/C:/Documents%20and%20Settings/Administrator/.m2/repository/org/apache/
> struts/struts2-core/2.0.9/struts2-core-2.0.9.jar!/struts-default.xml:8:72
> at
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.reg
> ister(XmlConfigurationProvider.java:208) at
> org.apache.struts2.config.StrutsXmlConfigurationProvider.register(Str
> utsXmlConfigurationProvider.java:101) at
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(Defau
> ltConfiguration.java:131) at
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(
> 1-----------------------------------------------------------------------------------------------
> and the thread suspends here
> 2------------------------------------------------------------------------------------------------
> 2007-09-06 19:49:31.145::INFO: Started [EMAIL PROTECTED]:8080
> [INFO] Started Jetty Server [INFO] Starting scanner at interval of 3
> seconds.
> 2------------------------------------------------------------------------------------------------
> but browsing http://localhost:8080 I got the error:
> 3------------------------------------------------------------------------------------------------
> HTTP ERROR: 503 SERVICE_UNAVAILABLE RequestURI=/login.jsp Powered by
> jetty://
> 3------------------------------------------------------------------------------------------------
> and then I Ctrl+C the thread, further exception occured:
> 4------------------------------------------------------------------------------------------------
> 2007-09-06 19:55:35.338::INFO: Shutdown hook executing 2007-09-06
> 19:55:35.385::WARN: EXCEPTION Unable to load bean: type:
> class:com.opensymphony.xwork2.ObjectFactory - bean -
> jar:file:/C:/Documents%20and%20Settings/Administrator/.m2/repository/org/apache/
> struts/struts2-core/2.0.9/struts2-core-2.0.9.jar!/struts-default.xml:8:72
> at
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.reg
> ister(XmlConfigurationProvider.java:208) at
> org.apache.struts2.config.StrutsXmlConfigurationProvider.register(Str
> utsXmlConfigurationProvider.java:101) at
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(Defau
> ltConfiguration.java:131) at
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(
> ConfigurationManager.java:52) ..................
> 4------------------------------------------------------------------------------------------------
> I cant figure it out, anybody had identical experience and how to crack it?
> thanks for any suggestion.
> ________________________________
>  View this message in context: exception in "mvn jetty:run"
>  Sent from the AppFuse - User mailing list archive at Nabble.com.
>


-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to