在eclipse+tomcat上跑起springside4

开始的步骤参考:

https://github.com/springside/springside4/wiki/QuickStart

就可以。

然后修改 cache/applicationContext-memcached.xml

改成:

<beans profile="development,functional,test,production">
<!-- 演示用的JMemcached, 模拟Memcached服务器 -->
<bean id="memcachedSimulator" class="org.springside.modules.test.cache.memcached.MemcachedSimulator" lazy-init="false">
<property name="serverUrl" value="${memcached.url}" />
</bean>
</beans>

如果有jstl/jsper/el 等异常。这是因为jar包冲突了。把这些包去掉就行. 这些包的名字包含 jstl/jsper/el/servelet 都去掉.

如果启动报quartz相关异常就去applicationContext-showcases.xml把 

<import resource="schedule/applicationContext-quartz-cron-local.xml" />
<import resource="schedule/applicationContext-quartz-timer-cluster.xml" /> 

注释掉。不开启这个功能了。

 

posted @ 2013-05-13 14:34  zhong320  阅读(387)  评论(0)    收藏  举报