ZOU_CHENYUN
Mr丶zcy
采纳率100%
2017-11-09 06:48 浏览 3.1k
已采纳

启动有个异常,是什么意思?不影响使用,能启动项目。

websocket服务器启动,端口8668
14:47:31.061 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Included patterns for restart : []
14:47:31.063 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Excluded patterns for restart : [/spring-boot-starter/target/classes/, /spring-boot-autoconfigure/target/classes/, /spring-boot-starter-[\w-]+/, /spring-boot/target/classes/, /spring-boot-actuator/target/classes/, /spring-boot-devtools/target/classes/]
14:47:31.063 [main] DEBUG org.springframework.boot.devtools.restart.ChangeableUrls - Matching URLs for reloading : [file:/D:/SVN/ynMonitorPlatform/ynMonitorPlatform/ynMonitorPlatform/target/classes/]
websocket服务器启动,端口8668
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67)
at org.java_websocket.server.WebSocketServer.run(WebSocketServer.java:283)
at java.lang.Thread.run(Thread.java:748)

. ____ _ __ _ _
/\ / ' __ _ ()_ __ __ _ \ \ \ \
( ( )\
_ | '_ | '_| | '_ \/ ` | \ \ \ \
\/ _
_)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |___, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.2.RELEASE)

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

2条回答 默认 最新

  • 已采纳
    xiaomage1314 人称小马哥 2017-11-09 07:19

    端口已经被占用了,应该是服务已经启动了,你又启动了一次

    点赞 评论 复制链接分享
  • congge_1993 瞭望塔 2017-11-09 07:50

    端口号被占用项目也能启动?访问也没问题吗

    点赞 评论 复制链接分享

相关推荐