Artifact XXX exploded: Error during artifact deployment. See server log for details.

    前排提醒,这只是篇排错日记,可能解决不了你的问题。

  

  点击右侧查看tomcat日志

  看这个报错信息,知道是映射文件路径出错了。

  改一下

然后又报新错误:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘employeeController‘: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.figsprite.Service.EmployeeService com.figsprite.Controller.EmployeeController.employeeService; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.figsprite.Service.EmployeeService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}

  可以知道是扫描包出现问题, = =这里因为懒,直接复制了SpringMVC的配置文件,导致Spring扫描不到包了

  = =还是错

  在控制层加点料

= =好熟悉的错误,刚学习SpringMVC时令人抓疯的错误

= = 途中又碰到新问题

在web.xml里改一改

<context-param>
   <param-name>log4jConfigLocation</param-name>
   <param-value>/WEB-INF/config/log4j.properties</param-value>
</context-param>

······

<!-- 定义LOG4J监听器 -->
<listener>
   <listener-class>
org.springframework.web.util.Log4jConfigListener
   </listener-class>
</listener>

至此,整合SSM宣告成功!!!万里长征,刚刚开始

 

原文地址:https://www.cnblogs.com/figsprite/p/10886885.html

时间: 2024-10-11 18:22:06

Artifact XXX exploded: Error during artifact deployment. See server log for details.的相关文章

spring整合shiro配置BUG,Tomcat启动不了:Error during artifact deployment. See server log for details

现象 spring配置shiro权限控制之后,项目无法启动 [2019-08-09 09:00:35,800] Artifact export_web_manager:war exploded: Error during artifact deployment. See server log for details. Tomcat起不来 原因 将shiro的spring配置放在了springmvc配置中,项目启动报错. web.xml中的配置 <servlet> <servlet-nam

IntelliJ IDEA提示:Error during artifact deployment. See server log for details.

IntelliJ IDEA-2017.1.1 tomcat-8.5.13 问题:在IntelliJ IDEA中使用tomcat部署web app时,提示:Error during artifact deployment. See server log for details IntelliJ IDEA 不自动打开浏览器,也无法手动从IntelliJ IDEA打开浏览器,可以通过在浏览器地址栏输入地址访问servlet IntelliJ IDEA无法直接在8080端口访问html,只能在63342

IntelIJ IDEA配置Tomcat遇到问题Error during artifact deployment. See server log for details

IntelIJ IDEA在配置tomcat的时候会遇到Error during artifact deployment. See server log for details.这样的问题,我的系统是Win10 1607,用的是微软邮箱作为账户登录:那这时怎么解决这种问题呢,以下是我的解决办法 (一)重新部署tomcat,部署步骤如下 (1)新建项目,并在主界面配置,如图所示: (2)点击“+”号,并选择本地的tomcat服务器 (3)配置tomcat的安装目录,如下图所示,选择到tomcat版本

idea -&gt; Error during artifact deployment. See server log for details.

用idea导入eclipse工程,运行时,报Error during artifact deployment. See server log for details. 谷歌,最后发现是最新  tomcat5.8.13 . Tomcat 9.0.0.M19 的部署问题,而我的tomcat 刚好是这2个版本.解决办法是:使用8.5.14及以后9.0.0.M20及以后的版本,这些版本修复了问题. 参考文献: http://stackoverflow.com/questions/43354676/int

Error during artifact deployment. See server log for details.

转自:https://blog.csdn.net/ssh159/article/details/73682025 我出现的原因是包的问题 Error during artifact deployment. See server log for details. 这个很多人都找不出来,原因无非2个: 一.jar 包有有些没能识别,tomcat没有配置好! 二.这个一般代码错了: 除了看 server 的报错,别忘了看看 tomcat localhost Log 日志文件啊! 比如我这里是新增实体类

idea启动tomcat时报错:Error during artifact deployment. See server log for details.

Error during artifact deployment. See server log for details. 这个很多人都找不出来,原因无非2个: 一.jar 包有有些没能识别,tomcat没有配置好! 二.这个一般代码错了: 除了看 server 的报错,别忘了看看 tomcat localhost Log 日志文件啊! 比如我这里是新增实体类,但是没有在 application-hibernate 添加记录,所有报错了! 原文地址:https://www.cnblogs.com

[Java Web学习]Tomcat启动时报war exploded: Error during artifact deployment

报错:Artifact FirstWeb:war exploded: Error during artifact deployment. See server log for details. SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframewor

Intellij Error:Cannot build Artifact &#39;XXX:war exploded&#39; because it is included into a circular dependency

https://stackoverflow.com/questions/42335718/intellij-errorcannot-build-artifact-xxxwar-exploded-because-it-is-included-i 基本按这个来就好了 如果到了build artfact哪里按钮是灰色 就要手动建了 https://jingyan.baidu.com/album/0a52e3f43d9f69bf62ed72f9.html?picindex=8 这里的百度经验真是久违的不

Error:Cannot build artifact &#39;XXX:war exploded&#39; because it is included into a circular dependency (artifact &#39;XXXX:war exploded&#39;, artifact &#39;XXX:war exploded&#39;) Idea启动项目报错解决方案

在Idea中使用Maven创建父子工程,第一个Model的那个项目可以很好的运行,在创建一个Model运行时报这个错.原因是tomcat部署了多个Web项目,可能最开始是两个项目的配置文件混用用,最后就报这个错. 网上找的解决方案: 步骤:File--  Porject Struccture ---- Artifacts 在Tomcat部署时war和war exploded区别: war模式:将WEB工程以包的形式上传到服务器 : war exploded模式:将WEB工程以当前文件夹的位置关系