ideaj-tomcat中文乱码,tomcat- Artifact exampley:war exploded: Server is not connected. Deploy is not available.

jsp页面中文乱码:

http://blog.csdn.net/lynxzong/article/details/12615333

在jsp的头部加上

<%@ page contentType="text/html;charset=GBK"%>

tomcat控制台中文乱码:

cmd中开启tomcat,日志的中文显示正常,但是在ideaj控制台里面是乱码;

原因是把jsp那个问题定位错了。

然后根据http://blog.csdn.net/silyvin/article/details/53411143这个网页重新设置了tomcat的编码,导致报错。

Artifact exampley:war exploded: Server is not connected. Deploy is not available.

不知道具体原因,不过我查看了一下我的catalina.bat文件,里面有一个#符号,是异常符号,删掉之后就没有这个报错了。

时间: 2024-08-30 04:14:16

ideaj-tomcat中文乱码,tomcat- Artifact exampley:war exploded: Server is not connected. Deploy is not available.的相关文章

升级到tomcat8时Artifact SpringMvcDemo:war exploded: Server is not connected. Deploy is not

The method getDispatcherType() is undefined for the type HttpServletRequest 升级到tomcat8 http://segmentfault.com/q/1010000002650778/a-1020000002657581 版权声明:本文为博主原创文章,未经博主允许不得转载. 配置项目,从tomcat低版本,放到tomcat8时,正常的项目居然报错了: The method getDispatcherType() is u

Intellij IDEA中部署Tomcat报错“war exploded: Server is not connected. Deploy is not available”

最近将本机的Tomcat 7卸载重装了Tomcat 9后,在IDEA中运行Tomcat老是报错,一直未找到解决问题的办法. 只能讲Tomcat重新退回到版本7,才重新再IDEA中运行正常.

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工程以当前文件夹的位置关系

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:Artifact &#39;xx.war exploded&#39; has invalid extension

环境信息:  IDEA 13 ,  MAVEN, JBOSS 7. 配置信息: 常规配置. 出错信息: Error:Artifact 'xx.war exploded' has invalid extension 原因: 出现这种错误的原因是 build 打的 war 包不正确造成的, 修改 pom.xml build war 包部分代码既可. 代码如下: <plugin> <artifactId>maven-war-plugin</artifactId> <co

关于idea部署项目为什么抛出####:war: Server is not connected. Deploy is not available的错误?

报错问题如下: #######:war: Server is not connected. Deploy is not available. 解决方案:可能是系统环境+jdk+IDE+Tomca?t版本不统一造成的 更多问题及解决方案欢迎评论和留言!

Tomcat中文乱码问题的原理和解决方法

自从接触Java和JSP以来,就不断与Java的中文乱码问题打交道,现在终于得到了彻底的解决,现将我们的解决心得与大家共享. 一.Java中文问题的由来 Java的内核和class文件是基于unicode的,这使Java程序具有良好的跨平台性,但也带来了一些中文乱码问题的麻烦.原因主要有两方面,Java和JSP文件本身编译时产生的乱码问题和Java程序于其他媒介交互产生的乱码问题. 首先Java(包括JSP)源文件中很可能包含有中文,而Java和JSP源文件的保存方式是基于字节流的,如果Java

tomcat中文乱码问题

在JavaWeb开发中,使用tomcat,与字符编码有关的有 浏览器当前使用的编码(用于请求数据的编码),如果是jsp页面且没有手动修改浏览器浏览器编码,则就是page指令的pageEncoding属性所指定的编码 tomcat的server.xml中的Connector元素的URIEncoding和useBodyEncodingForURI属性值 URIEncoding This specifies the character encoding used to decode the URI b

URIEncoding与useBodyEncodingForURI 在tomcat中文乱码处理上的区别

大家知道tomcat5.0开始,对网页的中文字符的post或者get,经常会出现乱码现象. 具体是因为Tomcat默认是按ISO-8859-1进行URL解码,ISO-8859-1并未包括中文字符,这样的话中文字符肯定就不能被正确解析了. 常见的解决方法是在tomcat的server.xml下的connetor属性中增加URIEncoding或者useBodyEncodingForURI属性. 但是,这两种方式有什么区别呢? 我简单谈一下自己的理解: 按照tomcat-docs/config/ht