java 项目 导入成功后jsp页面报错处理方法 5C

本人新导入一个maven项目可是jsp页面一直报错,我先按照网上的经验操作如下步骤:
  在pom.xml配置文件中添加上javax.servlet的相关依赖:

    
    javax.servlet
    servlet-api
    2.5
    provided
    
 依赖tomcat类库:

    项目右击—>build path —> configure build path — >libraries — > add libraries —> Server Runtime — >选择一个服务器lib —> ok

  此方法并没有解决jsp报错问题,最终经过搜索发现如下方法:

    windows—>Preferences—>Validation—>把Show a confirmation dialog when performng manual validations 前边的√去掉—>Disable All —> apply —> ok

  此方法最终解决问题

参考链接:http://blog.csdn.net/qq_24081681/article/details/66969452

1

2个回答

导入jsp-api的包应该也可以解决吧

0

少个依赖包,导入jsp-api就行了

0
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
AS 项目导入后 报错
1. 修改 build.gradle 看到提示会让修改,整个项目工程的 build.gradle的版本 因为你的as里面的 gradle 可能和你导入的项目 gradle的版本不同的2. 还是报错 说 jdk 版本不对Error:Unable to load class ‘org.codehaus.groovy.runtime.typehandling.ShortTypeHandling
项目导入后js报错
问题原因:js校验未关,有些js由多个js文件组成,但是项目找不到报错,所以报错。 解决方法:项目右键属性-->Validation  Disable  All     然后重新刷新。  ...
ssm项目导入activiti依赖后jsp页面el表达式报错
错误原因:Tomcat8.x与activiti6.0依赖冲突导致 解决方法:              1.修改tomcat版本              2.在pom.xml中修改   在依赖中把     <dependency>       <groupId>org.activiti</groupId>       <artifactId...
导入第三方工程报错的处理方法
今天帮同事处理问题,遇到这样的一个问题, 看下图 这个是短信验证码的时候,看到这个之后程序集体的某处没有报错 整体报错了, 处理方法: 1 清除缓存 及clear    clear的位置 在ecplise 最上方的project ---clear 即可 2 重新启动ecplise。 之后还报错看看包是不是没有导入。 今天是3月8号,本来不打算写博客的,仔细又想了一会,记录
TensorFlow安装成功后导入IDE报错
安装完TensorFlow,并且在命令行调试成功后。打开spyder 然后输入测试程序 : import tensorflow as tf x = tf.Variable(3) y = tf.Variable(5) z=x+y init = tf.initialize_all_variables() with tf.Session() as sess: sess.run(init)
python项目(服务器报错及处理方法)
Python是面向对象语言,所以程序抛出的异常也是类(一)常见的Python异常有:NameError 尝试访问一个没有申明的变量SyntaxError 语法错误IndexError 索引超出序列范围KeyError 请求一个不存在的字典关键字AttributeError     尝试访问未知的对象属性ValueError 传给函数的参数类型不正确,比如给int()函数传入字符串形Unboun...
关于项目导入后override报错
[code="java"] /** *以前经常碰到的一些问题、现在开始尝试一个个的来找到原因并解决 * *JDK5不承认对接口方法的实现是override、 *JDK6修正了这个概念、认为对父类方法的重写和对接口的实现都能加上override、 *故在Window-Preferences-Java-Compiler中将编译器版本改为1.6、 *问题解决、 */ [/code]...
springboot的gradle项目导入后,运行时报错
springboot的gradle项目导入idea后,运行时报错; 看报错提示信息:   解决方案:    
关于Android studio 导入 Eclipse项目出现.9图片报错的的处理方法。
很用情况下在Android studio导入Eclipse的项目时候会报错.9图片,因为它比eclipse的规范要求要严格一点。 具体的报错信息 如  Error:Execution failed for task ':app:mergeDebugResources'. > Crunching Cruncher  xxxxxx.9.png failed, see logs。 这个时候只需在
项目导入报错
为什么我的项目导入Eclipse后就报错,而且奇怪的是,项目里面没有任何文件或者类有红叉叉显示,但是就是项目报错。。难道是环境的问题,如果是的话,应该要怎么改呢??请各位赐教。
Maven项目导入后报错
这是自己在学习过程中遇到错误以便积累。
将项目导入eclipse中出现的jsp页面报错
摘自博客园,每次导入项目都会出现错误,每次都得重新百度,嫌麻烦。so ,那就自己写一个咯,原谅我是个菜鸟
svn项目迁移后服务器up报错:E155036 的处理方法
当项目开发迁移了SVN的地址后,进行svn up时服务器端报错 [1] refresh done, server ok. startTime: version: svn: E155036: 请参阅命令 ‘svn upgrade’ svn: E155036: The working copy at ‘/home/pirate/rpcfw’ is too old (format 2
新建Maven项目后jsp页面报错
当新建一个Maven项目时,jsp页面的首行出现了报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path。 查了一下资料发现是缺少javax.servlet-api,只需要在pom.xml中加入如下代码即可。 javax.servlet javax.s
JAVA:excel导入后解析报错
org.apache.poi.openxml4j.exceptions.OLE2NotOfficeXmlFileException: The supplied data appears to be in the OLE2 Format. You are calling the part of POI that deals with OOXML (Office Open XML) Document...
jsp页面的静态化处理方法一
NULL 博文链接:https://liu0107613.iteye.com/blog/394825
Eclipse项目导入报错原因
通常我们新导入的项目都会出现下面这种情况,像这种问题是很好解决的通常是我们的path没有加入进来,有时候是jre 有时候是tomcat 也有可能是maven ,如果仔细对照之后发现没什么问题,那再找下一个,不要着急,通常jre导入进去之后页面的类未找到异常,servlet未找到这种异常是不会再报错了,这样基本就解决问题了...
liferay hook项目导入报错
错误信息Errors occurred during the build. Errors running builder 'Faceted Project Va解决方法缺少jar包
MyEclipse5.0项目导入8.0报错
[img=https://img-bbs.csdn.net/upload/201409/19/1411116951_887978.png][/img]rn这个是我从网上下的web java 项目系统源码 import进去后 ie浏览出现错误 代码也有问题 求大神告诉我原因
filezilla 登录成功后报错
上传工具filezilla,客户端和服务端都已经配置好。rn但是客户端登录成功后报错:rn响应: 550 User does not have permission to access own home directoryrn错误: 严重错误: 无法连接到服务器rn百度了下说5开头是服务器问题,和文件夹权限有关,但是我已经吧服务端配置的用户和共享文件夹的所有权限都勾选了,晚上的资料太少,找不到对应解决方案,希望能在这里得到帮助,谢谢大家!rn登录日志我已经截图,见附件[img=https://img-bbs.csdn.net/upload/201706/01/1496301032_702937.png][/img]
在eclipse中导入java web项目时,jsp页面报错
一 、在eclipse中导入java web项目时,jsp页面报错   解决方案:项目右击—>build path —> configure build path — >libraries — > add libraries —> Server Runtime — >选择一个服务器lib —> ok...
jsp页面传递date到java报错
jsp传递的是字符串,在传递到java后台处理时,在类里先转换一下即可! private Date createDate; public Date getCreateDate() { return createDate; } public void setCreateDate(String createDate) throws Pars
eclipse 导入jquery后报错
eclipse导入jquery包后报错,处理步骤如下: 1.打开.project文件,去掉如下内容:   <buildCommand>   <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>   <arguments>   </arguments>  </buil...
eclipse导入后报错的问题
eclipse导入后报错的,提示导入文件无法解决 随便剪切整体部分内容后保存后,再粘贴,再保存就可解决。
fabric安装后导入报错
导入报错 from fabric.api import * ImportError: No module named 'fabric.api' 1 2 解决 经过网上查阅,发现是版本的问题,高版本把这个模块移除了,安装个低版本就行 这里写图片描述 截图出处:http://docs.fabfile.org/en/latest/upgrading.html 卸载原...
已有的项目导入Eclipse空间后,jsp页面报错的问题!急待解决!
完好的项目(别人机器上布置到Eclipse项目正常),布置到我的Eclipse空间却出现部分jsp页面报错!rn问题是,报错的语句,在多个jsp页面调用,有的报错,有的却不报错!rn比如这句 :<%@ include file="inc_syspage.jsp"%>,某些页面使用这个指令不报错!有的页面却报错!另外,引用的地方可能不同?但是有关系么 ?rnrn有些报错 !我复制页面代码到写字板后,在复制覆盖回来,有些jsp报错消失,有些却依旧报错!rnrnrnjsp页面的代码统一为utf-8!rnrn这个问题对以后的布置项目有没有影响,多大影响?rn请高手给于帮助!!rn感谢中 !
数据的导入处理方法
在access做的数据库通过SQL企业管理器的方法导入到SQL里,字段的属性会改变(如在access里有些字段是定义了关键值,但导到sql里就没了,自己又得在sql重设一次,在费时了),用什么方法从access导到sql里数据字段的属性才不会改变啊
Javaweb---成功登陆后自动跳转jsp页面
通过ajax技术让用户输入的用户名与密码得到验证,验证通过后(即登录成功)自动跳转到主页界面; 首先学习一些能实现自动转页面的方法,择需选择。 使用href超链接标记      客户端跳转 使用javascript        客户端跳转 提交表单           客户端跳转 使用response对象       客户端跳转 使用forward总做标记      服务器跳转
jsp页面报错
The type javax.servlet.ServletRequest cannot be resolved. It is indirectly referenced from required .class files一、添加jstl的jar包&amp;lt;dependency&amp;gt;            &amp;lt;groupId&amp;gt;javax.servlet&amp;lt;/groupId&amp;gt; ...
项目启动无错误,打开JSP页面报错
[code=Java]rn严重: Servlet.service() for servlet jsp threw exceptionrnorg.apache.jasper.JasperException: Unable to compile class for JSP: rnrnAn error occurred at line: 22 in the generated java filernThe method getJspApplicationContext(ServletContext) is undefined for the type JspFactoryrnrnStacktrace:rn at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)rn at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)rn at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:326)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)rn at java.lang.Thread.run(Thread.java:619)rnrn[/code]rnrn不知道什么原因,前次打开都还正常。
使用maven启动项目jsp页面报错
使用maven启动java项目时,访问action没有问题,但是涉及到jsp就会出错。 这样的情况是因为版本问题,本人使用的是jdk1.8的版本,使用默认的maven的tomcat。只要将pom文件中的tomcat插件换成7的版本即可。
weblogic家在项目jsp页面报错问题
报错如下: Compilation of JSP File '/index.jsp' failed: index.jsp:1:19: "Java" is not a valid setting for the language attribute. <%@ page language="Java" contentType="text/html; charset=UTF-8"
把本地项目导入后运行,发现报错!
我的问题是这样产生的:我在写一个后台代码,发现可以借鉴另外一个项目里面的代码,我就把另外一个项目也导入到myeclipse中,发现这个新导入的项目不能在本地调试,我就把试着把myeclipse的workspace给改了,然后发现正在写的项目和新导入的项目都不见了,然后我就再把workspace改回了之前的地址,发现还是没有,我就急了,就开始张罗着重新导入这两个项目。然后悲剧开始发生,我从昨天下午开始一直到今天上午结束,都在张罗这个事情,直到今天上午快结束了,我发现终于导进来了,我就开始张罗着运行了,发现报错了,我才意识到悲剧一直都在,只是我没有发现。现在请各位亲帮个忙,帮在下看看到底是哪里出现了问题,真的很需要各位的帮助,小弟在此谢谢啦!rnrn2013-09-25 11:27:58,074 [org.apache.struts2.spring.StrutsSpringObjectFactory]-[FATAL] ********** FATAL ERROR STARTING UP STRUTS-SPRING INTEGRATION **********rnLooks like the Spring listener was not configured for your web app! rnNothing will work until WebApplicationContextUtils returns a valid ApplicationContext.rnYou might need to add the following to web.xml: rn rn org.springframework.web.context.ContextLoaderListenerrn rn2013-09-25 11:27:58,105 [org.apache.struts2.dispatcher.Dispatcher]-[ERROR] Dispatcher initialization failedrnjava.lang.NullPointerExceptionrn at com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance(SpringObjectFactory.java:230)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyResultType(XmlConfigurationProvider.java:592)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addResultTypes(XmlConfigurationProvider.java:563)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:519)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:290)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:239)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:68)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:429)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:471)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:273)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:254)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:372)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:98)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4382)rn at org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5040)rn at org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5035)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)rn at java.util.concurrent.FutureTask.run(FutureTask.java:138)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at java.lang.Thread.run(Thread.java:619)rn2013-9-25 11:27:58 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter struts2rnClass: com.opensymphony.xwork2.spring.SpringObjectFactoryrnFile: SpringObjectFactory.javarnMethod: getClassInstancernLine: 230 - com/opensymphony/xwork2/spring/SpringObjectFactory.java:230:-1rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:483)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:273)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:254)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:372)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:98)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4382)rn at org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5040)rn at org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5035)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)rn at java.util.concurrent.FutureTask.run(FutureTask.java:138)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: java.lang.NullPointerExceptionrn at com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance(SpringObjectFactory.java:230)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyResultType(XmlConfigurationProvider.java:592)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addResultTypes(XmlConfigurationProvider.java:563)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:519)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:290)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:239)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:68)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:429)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:471)rn ... 14 morern2013-9-25 11:27:58 org.apache.catalina.core.StandardContext startInternalrn严重: Error filterStartrn2013-9-25 11:27:58 org.apache.catalina.core.StandardContext startInternalrn严重: Context [/PriceComparator] startup failed due to previous errorsrn2013-9-25 11:27:58 org.apache.catalina.core.ApplicationContext log
导入后的项目配置buildpath时报错求解
由于导入的项目没有添加原有的lib,所以libary里出现红叉,我把它移除确定后就报了下面的这个错误,不知道有谁碰到过这种错误没?求解rn  rn Could not write file: D:\myworkspace2\batch_sample\.classpath. D:\myworkspace2\batch_sample\.classpath (拒绝访问。)rn  
Eclipse 项目导入AndroidStudio后.9图片报错的处理
首先要将.9图片凡在drawable文件夹下,然后在Studio中进行.9图片的重画,注意:画图片的时候要画完整的.9图片,也就是说是不是对此图进行了, 四个边的描点, 只有对四个边都进行了描点,这样Androidstudio才能进行识别。
bug记录---marven项目重新导入后报错
因为我没有指定编译的jdk版本,重新import项目后老是提示 Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mybatis.spring.mapper.MapperScannerConfigurer...
WAS下修改jsp页面不生效的处理方法
通常如果需要修改东西的话,就修改jsp页面比较方便。这样的话不用修改后台,不用重新部署,在系统维护中经常这样做。但是在WAS下,如果一个页面包含了另外一个页面,那么修改了这个被包含的页面后,可能会出现修改不能被正常显示。解决办法如下: 把包含页面也进行修改,然后重新保存(当然这个修改不要影响页面,例如加个空格)即可。   http://publib.boulder.ibm.com/infoc...
hibernate项目导入后问题
he import org.hibernate cannot be resolved[img=https://img-bbs.csdn.net/upload/201611/11/1478845563_714800.png][/img]
项目导入后发布tomcat报错
六月 08, 2014 12:44:11 下午 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Users\Tony\AppData\Local\MyEclipse Professional 2014\binary\com.sun.java.jdk7.win32.x86_64_1.7.0.u45\bin;D:\apache-tomcat-7.0.54\binrn六月 08, 2014 12:44:12 下午 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["http-bio-8080"]rn六月 08, 2014 12:44:12 下午 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["ajp-bio-8009"]rn六月 08, 2014 12:44:12 下午 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 480 msrn六月 08, 2014 12:44:12 下午 org.apache.catalina.core.StandardService startInternalrn信息: Starting service Catalinarn六月 08, 2014 12:44:12 下午 org.apache.catalina.core.StandardEngine startInternalrn信息: Starting Servlet Engine: Apache Tomcat/7.0.54rn六月 08, 2014 12:44:12 下午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory D:\apache-tomcat-7.0.54\webapps\docsrn六月 08, 2014 12:44:12 下午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deployment of web application directory D:\apache-tomcat-7.0.54\webapps\docs has finished in 370 msrn六月 08, 2014 12:44:12 下午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory D:\apache-tomcat-7.0.54\webapps\examplesrn六月 08, 2014 12:44:12 下午 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: contextInitialized()rn六月 08, 2014 12:44:12 下午 org.apache.catalina.core.ApplicationContext logrn信息: SessionListener: contextInitialized()rn六月 08, 2014 12:44:12 下午 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@4a0bd13d')rn六月 08, 2014 12:44:12 下午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deployment of web application directory D:\apache-tomcat-7.0.54\webapps\examples has finished in 375 msrn六月 08, 2014 12:44:12 下午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory D:\apache-tomcat-7.0.54\webapps\host-managerrn六月 08, 2014 12:44:12 下午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deployment of web application directory D:\apache-tomcat-7.0.54\webapps\host-manager has finished in 50 msrn六月 08, 2014 12:44:12 下午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory D:\apache-tomcat-7.0.54\webapps\managerrn六月 08, 2014 12:44:12 下午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deployment of web application directory D:\apache-tomcat-7.0.54\webapps\manager has finished in 54 msrn六月 08, 2014 12:44:12 下午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory D:\apache-tomcat-7.0.54\webapps\ROOTrn六月 08, 2014 12:44:13 下午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deployment of web application directory D:\apache-tomcat-7.0.54\webapps\ROOT has finished in 47 msrn六月 08, 2014 12:44:13 下午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory D:\apache-tomcat-7.0.54\webapps\YDYFrn六月 08, 2014 12:44:13 下午 org.apache.catalina.core.ContainerBase addChildInternalrn严重: ContainerBase.addChild: start: rnorg.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/YDYF]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)rn at java.util.concurrent.FutureTask.run(FutureTask.java:262)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)rn at java.lang.Thread.run(Thread.java:744)rnCaused by: java.lang.IllegalArgumentException: MALFORMEDrn at java.util.zip.ZipCoder.toString(ZipCoder.java:58)rn at java.util.zip.ZipFile.getZipEntry(ZipFile.java:531)rn at java.util.zip.ZipFile.access$900(ZipFile.java:56)rn at java.util.zip.ZipFile$1.nextElement(ZipFile.java:513)rn at java.util.zip.ZipFile$1.nextElement(ZipFile.java:483)rn at java.util.jar.JarFile$1.nextElement(JarFile.java:243)rn at java.util.jar.JarFile$1.nextElement(JarFile.java:238)rn at org.apache.tomcat.util.scan.FileUrlJar.nextEntry(FileUrlJar.java:77)rn at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1952)rn at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1900)rn at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1885)rn at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1317)rn at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:876)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:374)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5355)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn ... 10 morern六月 08, 2014 12:44:13 下午 org.apache.catalina.startup.HostConfig deployDirectoryrn严重: Error deploying web application directory D:\apache-tomcat-7.0.54\webapps\YDYFrnjava.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/YDYF]]rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)rn at java.util.concurrent.FutureTask.run(FutureTask.java:262)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)rn at java.lang.Thread.run(Thread.java:744)rnrn六月 08, 2014 12:44:13 下午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deployment of web application directory D:\apache-tomcat-7.0.54\webapps\YDYF has finished in 969 msrn六月 08, 2014 12:44:13 下午 org.apache.coyote.AbstractProtocol startrn信息: Starting ProtocolHandler ["http-bio-8080"]rn六月 08, 2014 12:44:14 下午 org.apache.coyote.AbstractProtocol startrn信息: Starting ProtocolHandler ["ajp-bio-8009"]rn六月 08, 2014 12:44:14 下午 org.apache.catalina.startup.Catalina startrn信息: Server startup in 1900 msrnrnrn在网上查了很多相关的报错解决方法,也仔细检查了web.xm中相关Servlet的配置,确实不知道怎么解决了,求大神帮忙解决
go get 报错处理方法
报错: package golang.org/x/text/unicode/norm: unrecognized import path &quot;golang.org/x/text/unicode/norm&quot; (https fetch: Get https://golang.org/x/text/unicode/norm?go-get=1: dial tcp 216.239.37.1:443: i/o...