ssm框架的项目,使用maven管理,启动服务器报错

异常信息:

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

解决办法:

  1. Open the project‘s properties (e.g., right-click on the project‘s name in the project explorer and select "Properties").
  2. Select "Deployment Assembly".
  3. Click the "Add..." button on the right margin.
  4. Select "Java Build Path Entries" from the menu of Directive Type and click "Next".
  5. Select "Maven Dependencies" from the Java Build Path Entries menu and click "Finish".
时间: 2024-08-06 03:44:34

ssm框架的项目,使用maven管理,启动服务器报错的相关文章

maven工程根项目运行ok但是子项目就报错的解决办法

正常启动没错 项目出现问题 maven工程根项目运行ok但是子项目就报错 报错信息是xxxx没有创建 解决办法 原来是子项目的依赖少了  没有配置1.8  所以会出现莫明其妙的bug 原文地址:https://www.cnblogs.com/july7/p/11964410.html

从svn下载web项目,一启动就报错

从svn下载web项目,一启动就报xxx类找不到,但是这个类确实存在项目中,其它同事也用这个项目却可以用.为什么我的不能用呢? 最后发现原来项目编译目录不是class目录而是bin目录.项目截图如下 : 将红色框出来路径替换成WEB-INF/classes即可 从svn下载web项目,一启动就报错

【转】Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.

转载地址:http://blog.csdn.net/jnqqls/article/details/8946964 1.错误: 在Eclipse下启动tomcat的时候,报错为:Eclipse下启动tomcat报错:The archive: C:/Program Files(x86)/Java/jdk1.7.0_10/lib/tools.jar which is referenced by the classpath, doesnot exist. 2.原因: 这是因为我中途移动过tomcat的位

tomcat启动时候报错Can't convert argument: null

一.启动报错: 为了避免导入的项目重名,我先修改了前一个项目的名称. 重新启动该项目至tomcat,报错:java.lang.IllegalArgumentException: Cant convert argum...... 一.启动报错:为了避免导入的项目重名,我先修改了前一个项目的名称.重新启动该项目至tomcat,报错:java.lang.IllegalArgumentException: Can't convert argument: null二.发现问题:因为MyEclipse在修改

Eclipse3.6+Blazeds+Flex4.6启动tomcat报错

在eclipse中启动tomcat时出现Setting property 'source' to 'org.eclipse.jst.jee.server:你的站点名'   did not find a matching property错误 解决办法: 1.在server控制台内,在服务器上点右键--属性 2.general选项卡中点switch location 这时,location变为:/servers/tomcat6.0 server at localhost.server 3.在pro

IDEA启动Tomcat报错

Maven编译成功, 可是启动Tomcat报错: Application Server was not connected before run configuration stop, reason: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error dur

Node升级 启动RN报错:react-native启动时红屏报错:Unable to load script.Make sure you're either running a metro server or that

1. 项目中在android/app/src/main/创建文件夹  assets 2.项目中执行命令 1. 项目中在android/app/src/main/创建文件夹  assets 2.项目中执行命令 react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle

windows平台在tomcat中启动cas报错解决

windows平台在tomcat中启动cas报错: Caused by: java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no jansi in java.library.path, 系统找不到指定的路径.] 解决办法:将jansi.dll文件放到C:\Windows\System32目录下即可. 注意:jansi.dll文件在使用gradle编译打包cas时会下载到C:\Users\${用户名}\.gradle

436启动cman报错

rhel6.2启动cman报错 Waiting for quorum... Timed-out waiting for cluster 解决方法: 修改/etc/init.d/cman配置文件 vim /etc/init.d/cman CMAN_QUORUM_TIMEOUT=45 改为 CMAN_QUORUM_TIMEOUT=0 然后重启cman即可