jetty配置问题
sghys 2005-11-11 06:05:27 在eclipse里用jetty插件能正常启动项目,但在cmd用命令控制启动却总是报错:
resource [services-spring.xml]: Initialization of bean failed; nested except
ion is org.aopalliance.aop.AspectException: null]
jetty项目配置文件如下:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure 1.2//EN" "http://jetty.mortbay.org/configure_1_2.dtd">
<Configure class="org.mortbay.jetty.Server">
<Call name="addListener">
<Arg>
<New class="org.mortbay.http.SocketListener">
<Set name="Port"><SystemProperty name="jetty.port" default="8080"/></Set>
<Set name="MinThreads">5</Set>
<Set name="MaxThreads">100</Set>
<Set name="MaxIdleTimeMs">30000</Set>
<Set name="LowResourcePersistTimeMs">5000</Set>
<Set name="PoolName">Listener</Set>
<Set name="ConfidentialPort">8443</Set>
<Set name="IntegralPort">8443</Set>
</New>
</Arg>
</Call>
<Call name="addWebApplication">
<Arg>/test</Arg>
<Arg>D:\workspace\SampleExample\context</Arg>
</Call>
</Configure>