IDEA中运行Tomcat build时报错

Error:Internal error: (java.util.concurrent.ExecutionException) java.lang.IllegalArgumentException: Argument for @NotNull parameter 'facetConfigurationElement' of org/jetbrains/jps/javaee/model/web/impl/JpsWebModuleExtensionSerializer.loadExtension must not be null
java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'facetConfigurationElement' of org/jetbrains/jps/javaee/model/web/impl/JpsWebModuleExtensionSerializer.loadExtension must not be null
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.jetbrains.jps.model.serialization.JpsProjectLoader.loadModules(JpsProjectLoader.java:394)
at org.jetbrains.jps.model.serialization.JpsProjectLoader.loadModules(JpsProjectLoader.java:326)
at org.jetbrains.jps.model.serialization.JpsProjectLoader.loadFromDirectory(JpsProjectLoader.java:196)
at org.jetbrains.jps.model.serialization.JpsProjectLoader.loadProject(JpsProjectLoader.java:96)
at org.jetbrains.jps.model.serialization.impl.JpsSerializationManagerImpl.loadModel(JpsSerializationManagerImpl.java:42)
at org.jetbrains.jps.cmdline.JpsModelLoaderImpl.loadModel(JpsModelLoaderImpl.java:50)
at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:79)
at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:280)
at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:137)
at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:235)
at org.jetbrains.jps.service.impl.SharedThreadPoolImpl.lambda$executeOnPooledThread$0(SharedThreadPoolImpl.java:42)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'facetConfigurationElement' of org/jetbrains/jps/javaee/model/web/impl/JpsWebModuleExtensionSerializer.loadExtension must not be null
at org.jetbrains.jps.javaee.model.web.impl.JpsWebModuleExtensionSerializer.$$$reportNull$$$0(JpsWebModuleExtensionSerializer.java)
at org.jetbrains.jps.javaee.model.web.impl.JpsWebModuleExtensionSerializer.loadExtension(JpsWebModuleExtensionSerializer.java)
at org.jetbrains.jps.javaee.model.web.impl.JpsWebModuleExtensionSerializer.loadExtension(JpsWebModuleExtensionSerializer.java:20)
at org.jetbrains.jps.javaee.model.impl.JpsJavaeeModuleExtensionSerializerBase.loadExtension(JpsJavaeeModuleExtensionSerializerBase.java:46)
at org.jetbrains.jps.javaee.model.impl.JpsJavaeeModuleExtensionSerializerBase.loadExtension(JpsJavaeeModuleExtensionSerializerBase.java:27)
at org.jetbrains.jps.model.serialization.facet.JpsFacetSerializer.addExtension(JpsFacetSerializer.java:71)
at org.jetbrains.jps.model.serialization.facet.JpsFacetSerializer.addFacets(JpsFacetSerializer.java:63)
at org.jetbrains.jps.model.serialization.facet.JpsFacetSerializer.loadFacets(JpsFacetSerializer.java:44)
at org.jetbrains.jps.model.serialization.JpsProjectLoader.loadModule(JpsProjectLoader.java:436)
at org.jetbrains.jps.model.serialization.JpsProjectLoader.lambda$loadModules$2(JpsProjectLoader.java:390)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:212)
... 6 more

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
idea启动tomcat时报错
报错内容为:rn信息: Starting ProtocolHandler ["http-bio-8888"]rn二月 25, 2018 11:08:32 下午 org.apache.coyote.AbstractProtocol startrn信息: Starting ProtocolHandler ["ajp-bio-8009"]rn二月 25, 2018 11:08:32 下午 org.apache.catalina.startup.Catalina startrn信息: Server startup in 104 msrnConnected to serverrn[2018-02-25 11:08:33,186] Artifact work-attendance:war exploded: Artifact is being deployed, please wait...rn二月 25, 2018 11:08:34 下午 org.apache.catalina.startup.TldConfig executern信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.rnlog4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).rnlog4j:WARN Please initialize the log4j system properly.rnlog4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.rn二月 25, 2018 11:08:35 下午 org.apache.catalina.core.StandardContext startInternalrn严重: One or more listeners failed to start. Full details will be found in the appropriate container log filern二月 25, 2018 11:08:35 下午 org.apache.catalina.core.StandardContext startInternalrn严重: Context [] startup failed due to previous errorsrn[2018-02-25 11:08:35,525] Artifact work-attendance:war exploded: Error during artifact deployment. See server log for details.rn二月 25, 2018 11:08:42 下午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory D:\Program Files\apache-tomcat-7.0.73\webapps\managerrn二月 25, 2018 11:08:43 下午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deployment of web application directory D:\Program Files\apache-tomcat-7.0.73\webapps\manager has finished in 108 msrnrn我将tomcat重新装了一下,直接启动tomcat可以。但是使用idea还是不行,在tomcat log文件夹中也没有找到使用idea启动tomcat的日志文件。
Linux运行Tomcat时报错
报错提示:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program 以上报错解释: java_home和jre_home环境变量均未定义 运行此程序至少需要这些环境变量中...
myeclipse10运行maven项目(maven build)时报错
![图片说明](https://img-ask.csdn.net/upload/201706/08/1496924569_684405.png)这就是我运行后控制台出现的内容" YangHui[Java Application ] D:\Program Files\Java\jdk1.6.0_35\bin\javaw. exe.其中jdk,tomcat,myeclipse10都是32位,但是电脑是64位;用myeclipse10启动web project完好,怎么破
关于在idea中运行tomcat。
自用!
IDEA:运行tomcat时,项目部署位置
更多idea问题,请移步: http://blog.csdn.net/fly910905/article/details/77868300 进入idea的tomcat目录 D:\Java\idea\ideaConfig\.IntelliJIdea2016.3\system\tomcat\ 进入要查看项目的配置文件 Unnamed_项目名_数字\c
idea在运行web项目时部署在tomcat的位置
今天在看Spring实战用idea搭建web项目运行时启动正常但是访问显示404资源不存在,然后去配置的tomcat/webapps下一看没有部署的项目文件,一顿操作弄好之后又去配置的tomcat/webapps下一看还是没有部署的项目!!这是怎么访问成功的?? 很奇怪!!印象中使用MyEclipse启动部署web项目时在webapps下应该会有项目文件........... 项目在tomca...
idea运行tomcat工程
jsp文件修改内容后,在tomcat中无法显示更新后的内容 这样改一下就好了
IDEA配置运行Tomcat
1.点击右上角的Edit Configurations 2.根据序号选择到Local 完成 !
IDEA下配置运行Tomcat
windows系统下,IDEA配置运行Tomcat   确保电脑上有Tomcat包,没有在https://tomcat.apache.org/选择对应包下载。   首先,需要将Application Servers 打开 从菜单栏选择File -> Settings... 然后进行进行以下操作: 设置完成Tomcat后进行以下操作: 从菜单栏选择 Run -> Ed...
idea 运行main 报错
[img=https://img-bbs.csdn.net/upload/201712/21/1513843276_438542.png][/img]
Tomcat运行servlet时报错404
这是我的目录结构d:/Program files/Apache Software Foundation/Tomcat 6.0/webapps/[color=#FF0000]myapp/[/color]rnmyapp是我自己创建的文件夹 里面有WEB-INF文件夹 WEB-INF里有web-xml和一个classes文件夹 rnclasses文件夹里放的servlet: Test.java和Test.class 编译没问题rn以上从myapp开始都是自己创建的rnrnweb-xml是这样:rnrnrnrnrnrn rn My Web Application rnrnA application for test.rnrnrn Test rn Test rn A test Servlet rn Test rnrnrn Test rn /Test rnrn rnrn从浏览器输入http://localhost:8080/myapp/Test rn一直报错404 我知道多半是路径的问题找不到TEST 运行TOMCAT的例子都是正常rn但实在看不出来哪里写错了 谢谢!
tomcat运行web项目时报错,求大神
HTTP Status 500 - java.lang.IllegalStateException: No Java compiler availablernrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage java.lang.IllegalStateException: No Java compiler availablernrndescription The server encountered an internal error that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: java.lang.IllegalStateException: No Java compiler availablern org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:538)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rnrn
tomcat运行一段时间报错
HTTP Status 500 -rnrntype Exception reportrnrnmessagernrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexceptionrnrnjava.lang.NullPointerExceptionrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/7.0.26 logs.rnrntomcat运行一段时间后报如上错误,重启tomcat又能正常打开;郁闷,求大神……
IDEA整合tomcat总是报错
今天下午试用IDEA整合TOMCAT,总是有 Server is not connected. Deploy is not available错误。我从tomcat7换到8再换到6,还是不行。网上的方法也都试过了,没有setenv.bat文件,在catalina.bat中也没有set JAVA_OPTS=-server -Xmx800m -XX:MaxPermSize=256M配置。rn不知道问题出在哪儿?rn[img=https://img-bbs.csdn.net/upload/201710/24/1508834310_569846.png][/img]rn[img=https://img-bbs.csdn.net/upload/201710/24/1508834317_984101.png][/img]
build all project时报错
build all project时报错 :in module 'dcc60.dll' read of addressrnrn请问这是什么问题?rnrn
Maven问题build时报错
build时报错Launching XXX has encountered a problem. Not a Maven projectrn[img=https://img-bbs.csdn.net/upload/201804/03/1522761217_834781.png][/img][img=https://img-bbs.csdn.net/upload/201804/03/1522761226_489437.png][/img]
Idea build项目 报错 非法字符集
整理了几种方法: 上图: 在Java Compiler 里的 Additional command line parameters: 下面的空白行里加一句:-encoding UTF8 这是第一种,但我在遇到这问题时,第一种时没解决了 我是从eclipse中导项目到idea,网上查资料说:Eclipse可以智能的把UTF-8+BOM文件转为普通的UTF-8文件,Android ...
使用idea导入web项目,在tomcat中运行
关键词:idea,tomcat,导入项目
在 IDEA 中配置 tomcat,运行 web 项目
1. 准备工作 如何在 IDEA 中配置 tomcat,运行 web 项目?对这个问题找了很久的答案,各种参差不全,其实非常的简单了,网上很多人的文章搞得很复杂,完全没必要。下面是我的采坑记录,写下来帮助大家。首先,需要确保: JDK 环境已经安装 Tomcat 已经下载好(不需要配置环境变量,下载一个压缩包解压出来就行) 2. 配置普通 web 项目 打开 IDEA 中的 file-...
在Idea中通过Tomcat运行maven项目
1.在Idea中通过Tomcat的Maven插件运行项目 (1)Tomcat 7的配置(推荐,下载速度较快) 在pom.xml中加入下面红色字体部分的配置: <build>   <finalName>项目名称</finalName>   <pluginManagement> 省略…   </pluginManagement>  ...
IDEA 运行Tomcat控制台乱码
IDEA---Tomcat 乱码,一顿骚操作 1.对IDEA进行修改,找到如下文件,添加内容 -Dfile.encoding=UTF-8 2.对IDEA进行修改,file->settings 3.Run-->Edit Configuration 4.JSP修改 ...
IDEA下运行maven项目tomcat启动报错
IDEA下运行maven项目报错 3-Feb-2017 12:25:16.948 严重 [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:   org.apache.catalina.LifecycleEx
IDEA配置tomcat运行web项目
个人博客地址:https://griabcrh.github.io/ 写此博客的原因: 公司老项目需要在tomcat中启动,公司其他同事都是用Eclipse运行这个项目的,但是我不想用Eclipse,所以就用IDEA搭建Tomcat运行项目,但tomcat在IDEA和eclipse中搭建不一样,所以这里来记录一下。 Step 1:导入Web项目,这里不详细介绍了 Step 2:在IDEA的sett...
IDEA Tomcat启动运行web项目
IDEA 全称IntelliJ IDEA,是Java语言开发的集成环境,IntelliJ在业界被公认为最好的java开发工具之一,尤其在智能代码助手、代码自动提示、重构、J2EE支持、Ant、JUnit、CVS整合、代码审查、 创新的GUI设计等方面的功能可以说是超常的。<br />nIDEA是一款功能强悍、非常好用的Java开发工具,近几年编程开发人员对IDEA情有独钟。虽然IDEA功能很强大,但目前市面讲解的不细致、不全面,导致很多IDEA初学者要么无从下手,要么耗费太多时间。本套课程分知识点进行录制讲解,大家可以精准找到想学的模块,方便大部分同学的学习和使用。<br /><div>n <br /></div>
启动 tomcat 时报错!!!
Servlet /pctest threw load() exceptionrnjava.lang.Error: Unresolved compilation problems: rn The import java.io cannot be resolvedrn The import java.io cannot be resolvedrn The import javax cannot be resolvedrn The import javax cannot be resolvedrn The import javax cannot be resolvedrn The import javax cannot be resolvedrn The import javax cannot be resolvedrn HttpServlet cannot be resolved to a typern The constructor Object() is undefinedrn The method destroy() is undefined for the type Objectrn HttpServletRequest cannot be resolved to a typern HttpServletResponse cannot be resolved to a typern ServletException cannot be resolved to a typern IOException cannot be resolved to a typern PrintWriter cannot be resolved to a typern The method getClass() is undefined for the type InitServletrn HttpServletRequest cannot be resolved to a typern HttpServletResponse cannot be resolved to a typern ServletException cannot be resolved to a typern IOException cannot be resolved to a typern PrintWriter cannot be resolved to a typern The method getClass() is undefined for the type InitServletrn ServletException cannot be resolved to a typern ServletConfig cannot be resolved to a typern The method getServletConfig() is undefined for the type InitServletrn String cannot be resolved to a typern String cannot be resolved to a typern String cannot be resolved to a typern JinghuaConn.USERNAME cannot be resolvedrn JinghuaConn.PASSWORD cannot be resolvedrn JinghuaConn.PHYPATH cannot be resolvedrn JinghuaConn.rootpath cannot be resolvedrn JinghuaConn.chartPath cannot be resolvedrnrn at sys.InitServlet.(InitServlet.java:3)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:513)rn at java.lang.Class.newInstance0(Class.java:355)rn at java.lang.Class.newInstance(Class.java:308)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1104)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4364)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:924)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:887)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:578)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn[color=#FF0000]我翻译过来 就是:[/color]rn服务器/ pctest扔负荷( )例外 rnjava.lang.Error :未汇编的问题: rn进口java.io不能得到解决 rn进口java.io不能得到解决 rn进口javax不能得到解决 rn进口javax不能得到解决 rn进口javax不能得到解决 rn进口javax不能得到解决 rn进口javax不能得到解决 rnHttpServlet解决不了的类型 rn该构造函数对象( )是未定义 rn销毁的方法( )是未定义的类型对象 rnHttpServletRequest解决不了的类型 rnHttpServletResponse解决不了的类型 rnServletException解决不了的类型 rnIOException解决不了的类型 rnPrintWriter解决不了的类型 rn该方法getClass ( )是未定义类型InitServlet rnHttpServletRequest解决不了的类型 rnHttpServletResponse解决不了的类型 rnServletException解决不了的类型 rnIOException解决不了的类型 rnPrintWriter解决不了的类型 rn该方法getClass ( )是未定义类型InitServlet rnServletException解决不了的类型 rnServletConfig解决不了的类型 rn该方法getServletConfig ( )是未定义类型InitServlet rn字符串不能得到解决的类型 rn字符串不能得到解决的类型 rn字符串不能得到解决,以一种类型 rnJinghuaConn.USERNAME不能得到解决 rnJinghuaConn.PASSWORD不能得到解决 rnJinghuaConn.PHYPATH不能得到解决 rnJinghuaConn.rootpath不能得到解决 rnJinghuaConn.chartPath不能得到解决 rnrn在sys.InitServlet 。 ( InitServlet.java : 3 ) rn在sun.reflect.NativeConstructorAccessorImpl.newInstance0 (本地方法) rn在sun.reflect.NativeConstructorAccessorImpl.newInstance ( NativeConstructorAccessorImpl.java : 39 ) rn在sun.reflect.DelegatingConstructorAccessorImpl.newInstance ( DelegatingConstructorAccessorImpl.java : 27 ) rn在java.lang.reflect.Constructor.newInstance ( Constructor.java : 513 ) rn在java.lang.Class.newInstance0 ( Class.java : 355 ) rn在java.lang.Class.newInstance ( Class.java : 308 ) rn在org.apache.catalina.core.StandardWrapper.loadServlet ( StandardWrapper.java : 1104 ) rn在org.apache.catalina.core.StandardWrapper.load ( StandardWrapper.java : 981 ) rn在org.apache.catalina.core.StandardContext.loadOnStartup ( StandardContext.java : 4058 ) rn在org.apache.catalina.core.StandardContext.start ( StandardContext.java : 4364 ) rn在org.apache.catalina.core.ContainerBase.addChildInternal ( ContainerBase.java : 791 ) rn在org.apache.catalina.core.ContainerBase.addChild ( ContainerBase.java : 771 ) rn在org.apache.catalina.core.StandardHost.addChild ( StandardHost.java : 525 ) rn在org.apache.catalina.startup.HostConfig.deployDirectory ( HostConfig.java : 924 ) rn在org.apache.catalina.startup.HostConfig.deployDirectories ( HostConfig.java : 887 ) rn在org.apache.catalina.startup.HostConfig.deployApps ( HostConfig.java : 492 ) rn在org.apache.catalina.startup.HostConfig.start ( HostConfig.java : 1147 ) rn在org.apache.catalina.startup.HostConfig.lifecycleEvent ( HostConfig.java : 311 ) rn在org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent ( LifecycleSupport.java : 117 ) rn在org.apache.catalina.core.ContainerBase.start ( ContainerBase.java : 1053 ) rn在org.apache.catalina.core.StandardHost.start ( StandardHost.java : 719 ) rn在org.apache.catalina.core.ContainerBase.start ( ContainerBase.java : 1045 ) rn在org.apache.catalina.core.StandardEngine.start ( StandardEngine.java : 443 ) rn在org.apache.catalina.core.StandardService.start ( StandardService.java : 516 ) rn在org.apache.catalina.core.StandardServer.start ( StandardServer.java : 710 ) rn在org.apache.catalina.startup.Catalina.start ( Catalina.java : 578 ) rn在sun.reflect.NativeMethodAccessorImpl.invoke0 (本地方法) rn在sun.reflect.NativeMethodAccessorImpl.invoke ( NativeMethodAccessorImpl.java : 39 ) rn在sun.reflect.DelegatingMethodAccessorImpl.invoke ( DelegatingMethodAccessorImpl.java : 25 ) rn在java.lang.reflect.Method.invoke ( Method.java : 597 ) rn在org.apache.catalina.startup.Bootstrap.start ( Bootstrap.java : 288 ) rn在org.apache.catalina.startup.Bootstrap.main ( Bootstrap.java : 413 )
启动Tomcat时报错
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [javax.sql.DataSource] for property 'dataSource'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type [javax.sql.DataSource] for property 'dataSource': no matching editors or conversion strategy foundrnCaused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [javax.sql.DataSource] for property 'dataSource'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type [javax.sql.DataSource] for property 'dataSource': no matching editors or conversion strategy foundrnCaused by: java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type [javax.sql.DataSource] for property 'dataSource': no matching editors or conversion strategy foundrn at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:231)rn at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138)rn at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:380)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1112)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:285)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:578)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2011-10-18 7:55:27 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2011-10-18 7:55:27 org.apache.catalina.core.StandardContext startrn严重: Context [/guest] startup failed due to previous errorsrn2011-10-18 7:55:27 org.apache.catalina.core.ApplicationContext logrn信息: Closing Spring root WebApplicationContextrnlog4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).rnlog4j:WARN Please initialize the log4j system properly.rn2011-10-18 7:55:32 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2011-10-18 7:55:32 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2011-10-18 7:55:32 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/30 config=nullrn2011-10-18 7:55:32 org.apache.catalina.startup.Catalina startrn信息: Server startup in 16786 msrn
启动TOMCAT时报错
./startup.sh时,提示:The JAVA_HOME environment variable is not defined correctlyrnThis environment variable is needed to run this programrnNB: JAVA_HOME should point to a JDK not a JRErnrn我在/etc/profile加了一下语句:rnexport JAVA_HOME=/usr/local/tomcatrnexport JAVA_HOME=/usr/local/jdkrnexport PATH=$PATH:/usr/local/jdk/bin:/usr/local/jdk/jre/binrnexport CLASSPATH=="./:/usr/local/jdk/lib:/usr/local/jdk/jre/lib"rnexport CATALINA_HOME=/usr/local/tomcatrn怎么解决呀!
Intellij IDEA创建的Web项目配置Tomcat并启动Maven项目
点击如图所示的地方,进行添加Tomcat配置页面   弹出页面后,按照如图顺序找到,点击+号     tomcat Service -&amp;gt; Local   注意,这里不要选错了哦,还有一个TomEE Service! 按照下面图所示进行配置。 图中数字的地方代表的配置意思: 1代表名称,给配置的Tomcat取名称。 2代表Tomcat服务器启动后,默认打开的浏览器,根据自己习惯...
idea配置tomcat并且运行
idea加载tomcat并且运行 1.下载tomcat 、 2下载解压即可 3启动服务即可 编辑tomcat环境变量 配置 Java Home变量 配置 catalina home变量 配置path变量 注意都是系统变量 4.在idea中配置tomcat 5.加载并且运行 启动并运行成功 ...
IDEA项目配置运行tomcat
在已经安装完tomcat的情况下,项目写完配置tomcat,步骤分三步: 一、配置Artifacts 二、配置本地tomcat server并添加artifacts 三、运行tomcat 截图: 一、 二、点击Edit Configurations进入配置界面   三、运行,点击绿色箭头按钮即可 ...
Tomcat在reload时报错
我在tomcat5.0的 conf/server.xml下为程序配置了 reloadable="true"rnrn开始reload是正常的,但是后来每次reload都报错:rnrn2009-8-22 16:23:41 org.apache.catalina.core.StandardContext reloadrn信息: Reloading this Context has startedrn2009-8-22 16:23:41 org.apache.catalina.loader.WebappClassLoader loadClassrn信息: Illegal access: this web application instance has been stopped already (the eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact)rn2009-8-22 16:23:41 org.apache.catalina.loader.WebappClassLoader loadClassrn信息: Illegal access: this web application instance has been stopped already (the eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact)rn2009-8-22 16:23:41 org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor processChildrenrn严重: Exception invoking periodic operation: rnjava.lang.ThreadDeathrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1253)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1213)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)rn at org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:49)rn at org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:333)rn at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:295)rn at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:225)rn at org.apache.log4j.WriterAppender.append(WriterAppender.java:150)rn at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)rn at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)rn at org.apache.log4j.Category.callAppenders(Category.java:187)rn at org.apache.log4j.Category.forcedLog(Category.java:372)rn at org.apache.log4j.Category.log(Category.java:864)rn at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:193)rn at org.apache.catalina.session.StandardManager.start(StandardManager.java:692)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)rn at org.apache.catalina.core.StandardContext.reload(StandardContext.java:2992)rn at org.apache.catalina.core.StandardContext.backgroundProcess(StandardContext.java:4576)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1659)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1668)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1668)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1648)rn at java.lang.Thread.run(Thread.java:536)rnrn然后程序就死掉了无法访问,只有重启tomcat,这是怎么回事,真心求教!!!谢谢了!!!rn
Idea使用tomcat运行web项目
由于之前一直在使用eclipse进行开发 初次使用idea 发现不会用tomcat启动web项目。。 点击Add Configuration 这个时候还是不能运行 因为tomcat中并没有项目 在此处添加自己的项目即可 ...
使用tomcat运行项目 IDEA
使用Tomcat运行项目 IDEA
启动tomcat时报错。
启动tomcat时报错。用的是commons-digester-1.7.jar这个版本rn错误信息:rn2007-1-24 9:22:28 org.apache.commons.digester.Digester fatalErrorrn严重: Parse Fatal Error at line -1 column -1: Premature end of file.rnorg.xml.sax.SAXParseException: Premature end of file.rn at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)rn at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)rn at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)rn at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)rn at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)rn at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)rn at org.apache.commons.digester.Digester.parse(Digester.java:1548)rn at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:263)rn at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:624)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:216)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4290)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)rn at org.apache.catalina.core.StandardService.start(StandardService.java:480)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:556)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)rn2007-1-24 9:22:28 org.apache.catalina.startup.ContextConfig applicationConfigrn严重: Parse error in application web.xmlrnorg.xml.sax.SAXParseException: Premature end of file.rn at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)rn at org.apache.commons.digester.Digester.parse(Digester.java:1548)rn at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:263)rn at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:624)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:216)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4290)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)rn at org.apache.catalina.core.StandardService.start(StandardService.java:480)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:556)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)rn2007-1-24 9:22:28 org.apache.catalina.startup.ContextConfig applicationConfigrn严重: Occurred at line -1 column -1rn2007-1-24 9:22:28 org.apache.catalina.startup.ContextConfig startrn严重: Marking this application unavailable due to previous error(s)rn2007-1-24 9:22:28 org.apache.catalina.core.StandardContext startrn严重: Error getConfiguredrn2007-1-24 9:22:28 org.apache.catalina.core.StandardContext startrn严重: Context startup failed due to previous errors
执行TOMCAT时的报错。。  
D:\jb5\jakarta-tomcat-3.2.1\bin>startuprnOut of environment spacernOut of environment spacernOut of environment spacernOut of environment spacernOut of environment spacernOut of environment spacernYour TOMCAT_HOME appears to contain spaces.rnUnable to set CLASSPATH dynamically.rnSetting your CLASSPATH statically.rnOut of environment spacernOut of environment spacernOut of environment spacernOut of environment spacernOut of environment spacernOut of environment spacernOut of environment spacernOut of environment spacernUsing CLASSPATH:rnrnStarting Tomcat in new windowrnBad command or file namernD:\jb5\jakarta-tomcat-3.2.1\bin>rnrn请教以上报错如何解决。rnrn
启动tomcat时报错
我启动tomcat时有警告: [SetAllPropertiesRule]Server/Service/Connector Setting property 'URLEncoding' to 'GBK' did not find a matching property.rn程序倒是可以执行不过,我获得的参数如果是汉字就显示乱码!rn请问是怎么回事,我应该怎么解决!
关闭tomcat时报错
2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbcrn严重: A web application registered the JBDC driver [org.logicalcobwebs.proxool.ProxoolDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbcrn严重: A web application registered the JBDC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [HouseKeeper] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store sampleCache1 Spool Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store sampleCache1 Expiry Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store query.Document Spool Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store cn.myapps.core.department.ejb.DepartmentProcessBean.getDepartmentByLevel(int) Spool Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store cn.myapps.core.department.ejb.DepartmentProcessBean.getDepartmentByLevel(int) Expiry Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store cn.myapps.core.department.ejb.DepartmentProcessBean.getDatasByParent(java.lang.String) Spool Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store cn.myapps.core.department.ejb.DepartmentProcessBean.getDatasByParent(java.lang.String) Expiry Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store cn.myapps.core.role.ejb.RoleProcessBean.doViewByName(java.lang.String,java.lang.String) Spool Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store cn.myapps.core.role.ejb.RoleProcessBean.doViewByName(java.lang.String,java.lang.String) Expiry Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store cn.myapps.core.workcalendar.calendar.ejb.CalendarProcessBean.doViewByName(java.lang.String,java.lang.String) Spool Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store cn.myapps.core.dynaform.form.ejb.FormProcessBean.doView(java.lang.String) Expiry Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store cn.myapps.core.resource.ejb.ResourceProcessBean.doView(java.lang.String) Expiry Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store cn.myapps.core.dynaform.document.ejb.DocumentProcessBean.queryByDQLWithCache(java.lang.String,java.lang.String,cn.myapps.base.action.ParamsTable,java.lang.String) Expiry Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store cn.myapps.core.department.ejb.DepartmentProcessBean.getUnderDeptList(java.lang.String) Spool Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store cn.myapps.core.validate.repository.ejb.ValidateRepositoryProcessBean.doView(java.lang.String) Spool Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store cn.myapps.core.validate.repository.ejb.ValidateRepositoryProcessBean.doView(java.lang.String) Expiry Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store cn.myapps.core.department.ejb.DepartmentProcessBean.doView(java.lang.String) Spool Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store cn.myapps.core.resource.ejb.ResourceProcessBean.doSimpleQuery(cn.myapps.base.action.ParamsTable,java.lang.String) Spool Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store cn.myapps.core.page.ejb.PageProcessBean.getDefaultPage(java.lang.String) Spool Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Store cn.myapps.core.commoninfo.ejb.CommonInfoProcessBean.doQueryByType(java.lang.String) Spool Thread] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [Prototyper] but has failed to stop it. This is very likely to create a memory leak.rn2011-2-18 16:25:41 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [org.apache.axis.utils.XMLUtils.ThreadLocalDocumentBuilder] (value [org.apache.axis.utils.XMLUtils$ThreadLocalDocumentBuilder@15d7752]) and a value of type [org.apache.xerces.jaxp.DocumentBuilderImpl] (value [org.apache.xerces.jaxp.DocumentBuilderImpl@144dc7b]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rnException in thread "ShutdownHook" java.lang.NullPointerExceptionrn at org.apache.log4j.LogManager.getLogger(LogManager.java:188)rn at org.apache.log4j.Logger.getLogger(Logger.java:104)rn at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)rn at org.apache.commons.logging.impl.Log4JLogger.debug(Log4JLogger.java:110)rn at org.logicalcobwebs.proxool.ShutdownHook.run(ShutdownHook.java:93)rn at java.lang.Thread.run(Thread.java:619)rnrn这个是什么问题,我jdk版本是1.6.0.17,tomcat是6.0.26
在eclipse中通过tomcat运行项目时报错,求解
# eclipse两个项目,一个项目可以通过tomcat正常运行,但另一个项目用tomcat运行就报错,求解rn![图片说明](https://img-ask.csdn.net/upload/201809/06/1536234525_607296.png)rn## 报错的项目:一开始项目中有两个同名的Servlet文件放在不同的文件夹中,然后修改文件名后又把tomcat——>webapps文件夹里的临时文件删了,后再重启eclipse运行项目也会报错
idea运行项目总是报错
项目总是报错,将项目删除重新导入还是会变错。项目是不会错得,所以想来肯定是idea或者是环境或者配置的问题。 idea重新安照步骤导入了很多次,还是报错。所以排除导入时的各种错误。 最后定位是配置的错误。首先把tomcat重新配置甚至删除重新安装tomcat,最后还是报错。 后来自动导入需要的包,还是会报错,而后去检查java的环境和maven的环境。检查都是好的。 然后检查jdk是配置好...
idea上运行scala报错
报错信息:scala.Predef$.$conforms()Lscala/Predef$$less$colon$less; 报错原因:和spark版本对应不上。 spark1.6.0对应的scala是2.10.x 解决办法:修改windows上的scala版本成2.10.7 scala下载链接:https://www.scala-lang.org/download/2.10.7.html...
相关热词 c# 标准差 计算 c#siki第五季 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池