sudo 启动tomcat报错没有java环境】的更多相关文章

报错: Cannot find ./catalina.shThe file is absent or does not have execute permissionThis file is needed to run this program 原因: 没有给bin目录下的文件授权可执行权限: 解决方法: chmod +x bin/*.sh 报错Neither the JAVA_HOME nor the JRE_HOME environment variable is defined: 解决方法…
Linux环境下,启动tomcat报出如题的警告信息,虽然对系统正常使用没有多大影响,但是会导致tomcat的日志垃圾信息很多,而且看起来很不爽... 具体的警告信息如下: Jan , :: PM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode WARNING: Could not . Jan , :: PM java.util.prefs.FileSystemPreferences checkLockFile0Erro…
先看错误日志: -May- ::.M26 -May- :: :: UTC -May- ::29.845 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 9.0.0.0 -May- :: -May- ::29.845 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0 -May-…
maven项目启动tomcat报错: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 错误原因: tomcat在发布项目的时候没有同事发布maven依赖所添加的jar包,tomcat找到需要的jar包,所以报了上述错误. 解决办法: 将maven依赖包添加到tomcat发布配置中. eclipse中的配置方法: 选中项目,右击项目->Properties ->Depl…
maven是个不错的管理jar包工具,但是我们在eclipse使用maven时,总是遇上这样那样的问题,比如今天,我编译工程,启动过后,tomcat报错:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener这种意思指向很明确,就是缺少"org.springframework.web.context.ContextLoaderListener"这个类,而这个类就是在s…
转载地址: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的位…
IDEA中启动Tomcat报错,Error running Tomcat7.0.52: Address localhost:1099 is already in use 或者是 java.rmi.server.ExportException: Port already in use: 1099 ,表示1099端口被其他进程占用了. 解决方法: 1. win+R,运行,输入cmd,进入命令提示符 2. 输入netstat -aon | findstr 1099,找到占用1099端口的进程ID:PI…
tomcat报错:java.net.SocketException: Permission denied["http-nio-80"] 问题:使用非root账户tomcat启动tomcat报错: 19-Sep-2016 15:08:27.168 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-80"] 19-Sep-2016 15:…
mysql-connector-java升级到6.0以后启动tomcat报错 java.sql.SQLException: The server time zone value '�й���׼ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration prop…
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:…
IDEA中启动Tomcat报错,Error running Tomcat7.0.52: Address localhost:1099 is already in use 或者是 java.rmi.server.ExportException: Port already in use: 1099 ,表示1099端口被其他进程占用了. 解决方法: 1. win+R,运行,输入cmd,进入命令提示符 2. 输入netstat -aon | findstr 1099,找到占用1099端口的进程ID:PI…
Eclipse启动Tomcat报错,系统缺少本地apr库. Tomcat中service.xml中的设置情况. 默认情况是HTTP协议的值:protocol="HTTP/1.1" 由于将tomcat改为了支持高并发,设置为如下图所示: Tomcat在Eclipse中启动出现以下错误,但是使用startup.bat启动方式是可以启动的. 实际这是建议使用apache的apr. 下载 http://tomcat.heanet.ie/native/1.1.12/binaries/win32/…
部署Maven项目到tomcat报错:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener[转] http://www.cnblogs.com/aisam/articles/4686362.html…
启动Tomcat报错   PermGen space    内存溢出 解决方法:扩大tomcat内存 修改参数:set JAVA_OPTS=-Xms1024m -Xmx1024m -XX:PermSize=512M -XX:MaxPermSize=512m Tomcat安装目录bin文件夹下的catalina文件 windows系统:修改catalina.bat文件 Linux系统:修改catalina.sh文件…
我真的很崩溃,先是workspace崩了,费了好久重建的workspace,然后建立了一个小demo项目,tomcat中启动却报错,挑选其中比较重要的2条信息如下: A child container failed during start 严重: Error starting static Resources java.lang.IllegalArgumentException: Document base D:\EclipseReal\realworkspace\.metadata\.plu…
Eclipse集成Tomcat报错,使用Spring 4.3 框架,运行一段应用后,控制台报错: Unexpected death of background thread ContainerBackgroundProcessor[StandardEngine[Catalina]] java.lang.OutOfMemoryError: PermGen space https://stackoverflow.com/questios/26616076/spring-tool-suite-tomc…
eclipse 启动项目报错:找不到 Spring 监听器类 org.springframework.web.context.ContextLoaderListener 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.c…
tomcat报错: org.apache.catalina.connector.ClientAbortException: java.io.IOException: 您的主机中的软件中止了一个已建立的连接. 出现原因: 1.由于客户端在发送请求后,还没等服务器响应就断开了连接,有可能是因为网络原因,突然网断了,但是如果错误频繁出现的话,可能就是服务端的问题了. 2.有可能是后台处理时间太长了. 3.服务器的并发连接数超过了其承载量,服务器会将其中一些连接Down掉. 4.客户关掉了浏览器,而服务…
启动某工程报错: java.lang.NoClassDefFoundError: com/sun/image/codec/jpeg/ImageFormatException 查找此类存在于jdk的rt.jar包中. 原来系统自带的openjdk不带此包,所以需要将rt.jar包拷贝到工程中. 较好的解决办法是:卸载掉openjdk,自己安装jdk版本.…
1.eclipse本地添加tomcat服务器    打开Eclipse,单击“window”菜单,选择下方的“Preferences”: 找到Server下方的Runtime Environment,单击右方的Add按钮: 选择已经成功安装的Tomcat版本,单击Next: 设置Tomcat的安装目录: 设置完成后,单击OK即可完成设置! 双击“Tomcat v7.0 Server at localhost”节点,出现如图信息 上图的红框部分表明,服务的部署是在eclipse里面(默认是放在工作…
Maven项目下update maven后Eclipse报错:java.lang.ClassNotFoundException: ContextLoaderL     严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.co…
在eclipse中debug  Tomcat报错,错误如下: FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197) ERROR: transport error 202: connect failed: Operation timed out ERROR: JDWP Transport dt_socket failed to initiali…
使用maven搭建项目(这个错误和是不是使用maven搭建项目没有关系),然后部署到tomcat中运行. 出现问题1: tomcat跑起来了,但是启动时间很短,没有报错,项目不能正常访问 项目启动时间很短,并且没有报错 并且项目无法正常访问 发现问题过程: 查看tomcat下,发现这个项目在tomcat的webapps下部署的仅仅是项目的部分文件,有好多的东西并没有部署进来 我们发现tomcat下部署的本项目中 并没有lib依赖包库 等目录. 解决途径: 因此我们需要通过  使用deployme…
之前启动还好好的,某次启动tomcat就莫名其妙的报了这个java.lang.ClassNotFoundException的错.   检查maven依赖包,发现这个类是存在的. 然后一通clean操作,更新maven依赖,甚至删了这个jar包,重新引用进来,还是报这个错. 最后进入工作空间中的\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps目录,发现此目录下有两个文件,一个时root这个不用管,一个是启动的web工程.…
报错信息大致如下所示: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:303) at org.apache.catalina.startup.Bootstrap.main(Bootstr…
1,报错截图 2,报错信息 五月 08, 2018 9:57:58 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin 警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:MyCastBox' did not find a matching prope…
启动TomCat服务报错: The specified JRE installation does not exist 解决方法: Eclipse:window->perferences->server->runtime Environment 选中服务器,Edit->重选JRE…
9.1今天不知道自己瞎搞eclipse的时候按到了什么键,然后再启动程序的时候就会报错: 如下: Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"(溢出内存错误) 解决方案: 然后就发现自己原来设置扩大堆内存的没有了,要重新设置 如图: 重新启动项目,OK解决了!!哈哈哈…
严重: A child container failed during startjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/scsv]] at java.util.concurrent.Futu…
Java Web 项目tomcat启动报错module-info.class 从git 上面拉下的项目,运行报错. jdk.maven配置正常 tomcat启动遇见的问题: Unable to process Jar entry [module-info.class] from Jar [jar:file:项目发布后的路径/具体的某个jar包 !/] for annotation 猜测问题原因: 本地 tomcat 配置不一样.别人在新建的过程中缺少的东西自动做了填补,拉下来以后本地的tomca…