主题 : jeecms导入myeclipse重新编译后报错 |
级别: 童生
|
1# 发表于:2012-06-28 12:48:57 IP:114.172.*.*
|
||||
---|---|---|---|---|---|
级别: 状元
|
2# 发表于:2012-06-28 13:01:04 IP:218.60.*.*
请描述下您的系统使用环境,如操作系统,JDK版本,tocmat版本,mysql版本等
|
||
---|---|---|---|
级别: 童生
|
3# 发表于:2012-06-28 13:06:24 IP:114.172.*.*
window7、JDK1.6、tomcat7、mysql5。。。。myeclipse里启动tomcat的时候就报出了很多错误,后台可以正常登录,,辅助、维护、生成等几个页面,左侧菜单有的,但是右侧是空白,没有显示的,
|
||
---|---|---|---|
级别: 童生
|
4# 发表于:2012-06-28 13:09:02 IP:114.172.*.*
大多貌似都是spring无法创建bean,,
Error creating bean with name 'contentCountAct': Injection of autowired dependencies failed; 还缺少 ehcache-application.xml 这个配置文件,, class path resource [ehcache-application.xml] cannot be opened because it does not exist org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:285) |
||
---|---|---|---|
级别: 童生
|
5# 发表于:2012-06-28 13:26:36 IP:114.172.*.*
现在页面正常打开了,刚才打开首页报错的问题解决了,,
得把Root/WEB-INF/classes 目录下几个配置文件放在src目录下,然后编译的时候,自动会更新到classes目录下,否则就找不到这几个文件,自然就报错了,, 现在首页是打开了,但是貌似样式文件路径都不对的,,页面就没有加载任何样式,,全部错乱,,这个怎么解决呢? 系统的默认目录是 http://localhost:8080 而我的测试目录是 http://localhost:8080/jeecms/ 这个路径在哪里修改呢? |
||
---|---|---|---|
级别: 状元
|
6# 发表于:2012-06-28 13:43:10 IP:218.60.*.*
回复第5楼 九、配置server并启动
前台路径为http://localhost:8080/jeecms 这时是没有样式的,需要在工程里面需要在后台-配置-全局设置-部署路径里面写上工程名。即/jeecms |
||
---|---|---|---|
1
共1页