Address already in use: JVM_Bind:8080类似问题解决方法

简介:
1.严重: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind:8080
2.严重: Catalina.start
LifecycleException:  Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8080
3.[framework] 2008-05-04 08:46:05,921 - org.springframework.web.struts.ContextLoaderPlugIn -31   [main] ERROR org.springframework.web.struts.ContextLoaderPlugIn  - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
Caused by: 
java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
 at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:77)
 
4.[framework] 2008-05-04 08:46:05,984 - org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/MyHello] -94   [main] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/MyHello]  - action: null
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
Caused by: 
java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
 at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:77)
 
5.[framework] 2008-05-04 08:46:05,984 - org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/MyHello] -94   [main] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/MyHello]  - Servlet /MyHello threw load() exception
javax.servlet.UnavailableException
 at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:880)
解决方法:
1.在任务管理器中关闭tomcat进程或sqlserver进程,然后在eclipse中启动tomcat
2.转到tomcat安装目录下,打开bin文件夹,双击shutdown.bat



     本文转自 gaochaojs 51CTO博客,原文链接:http://blog.51cto.com/jncumter/163660,如需转载请自行联系原作者



相关文章
|
Oracle 关系型数据库 应用服务中间件
java.net.BindException: Address already in use: JVM_Bind
java.net.BindException: Address already in use: JVM_Bind
78 0
|
消息中间件
ActiveMQ 启动报错 Address already in use: JVM_Bind 5672
ActiveMQ 启动报错 Address already in use: JVM_Bind 5672
237 0
ActiveMQ 启动报错 Address already in use: JVM_Bind 5672
|
Java 程序员 应用服务中间件
1篇文章搞清楚8种JVM内存溢出(OOM)的原因和解决方法
8种JVM内存溢出(OOM)的原因和解决方法
|
关系型数据库 应用服务中间件 Windows
|
关系型数据库 应用服务中间件 Windows
|
IDE Java 应用服务中间件
myEclipse开发内存溢出解决办法myEclipse调整jvm内存大小java.lang.OutOfMemoryError: PermGen space及其解决方法
摘要: tomcat部署多个项目后,启动tomcat正常,访问项目时却会出现该错误在网上查了查又试了好几次,才解决,将解决方法记录下来,以方便以后查看或让遇到同样问题的朋友有个参考 PermGen space是啥就不说了,网上找找大堆,感觉也没必要记这些个概念 问题的根源就是JVM的内存不够用了...
1344 0