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

简介:
原创作品,允许转载,转载时请务必以超链接形式标明文章  原始出处 、作者信息和本声明。否则将追究法律责任。 http://gaochaojs.blog.51cto.com/812546/163660
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

本文出自 “南湖矿工技术空间” 博客,请务必保留此出处http://gaochaojs.blog.51cto.com/812546/163660

目录
相关文章
|
12月前
|
Oracle 关系型数据库 应用服务中间件
java.net.BindException: Address already in use: JVM_Bind
java.net.BindException: Address already in use: JVM_Bind
75 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
|
关系型数据库 应用服务中间件 Windows
|
关系型数据库 应用服务中间件 Windows
|
17天前
|
Java Linux
JVM堆内存诊断
JVM堆内存诊断
18 0
|
2天前
|
存储 监控 算法
【JVM】如何定位、解决内存泄漏和溢出
【JVM】如何定位、解决内存泄漏和溢出
9 0
|
2天前
|
算法 安全 Java
JVM系列4-垃圾收集器与内存分配策略(二)
JVM系列4-垃圾收集器与内存分配策略(二)
10 0
JVM系列4-垃圾收集器与内存分配策略(二)