myeclipse6.0编译不了
2011-9-27 13:24:50 org.apache.catalina.startup.HostConfig checkResources
信息: Reloading context [/ambuf]
2011-9-27 13:24:50 org.apache.catalina.core.StandardContext stop
信息: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/ambuf] has not been started
2011-9-27 13:25:00 org.apache.catalina.startup.HostConfig checkResources
信息: Reloading context [/ambuf]
2011-9-27 13:25:01 org.apache.catalina.core.StandardContext listenerStart
严重: Error configuring application listener of class cn.ambuf.Training.common.listenter.SessionCounter
java.lang.ClassNotFoundException: cn.ambuf.Training.common.listenter.SessionCounter
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3773)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1105)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1203)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
2011-9-27 13:25:01 org.apache.catalina.core.StandardContext listenerStart
严重: Skipped installing application listeners due to previous error(s)
2011-9-27 13:25:01 org.apache.catalina.core.StandardContext start
严重: Error listenerStart2011-9-27 13:25:01 org.apache.catalina.core.StandardContext start
严重: Context [/ambuf]
startup failed due to previous errorslog4j:WARN No appenders could be found for logger (org.springframework.util.ClassUtils).
log4j:WARN Please initialize the log4j system properly.
在F:\workspace\basesys\WebRoot\WEB-INF\classes下面没有class文件,设置了自动编译,clean了,就是没用
1. 确保 project->build automatically 已经被选上.
2. 如果选上了,也不好使, 使用这一招: project->clean..->选第2个clean select project, 勾上start build immediatelly
3.删除现在的项目,提前设置好编译文件输出路径,重新导入源文件,设置eclipse为保存时编译,然后在保存的时候就可以自动编译了
都试了
大哥大姐救命啊
------解决方案--------------------
不编译,先把所有的jar包删除,然后再导入需要的jar试试
------解决方案--------------------
支持2楼,我碰到过这样的问题。包冲突,重载下包。如果还不行的话,就重新导下工程吧。