如何将 im-server 导入eclipse中执行不出错?

webtiger 2021-6-25 529

穷人使用eclipse,系统导入后,im-server\common\src\main\java\cn.wildfirechat.pojos\InputDestroyUser.java 报错,将其按package 移动到cn\wildfirechat\pojos\目录下,编译正常。 但是运行Server后,服务能够启动,日志如下:                     _                                                 ()| |  | | / |(        | |      | |   \ \ /\ / /| || | / ` || |_ | || '_|/  \  / || ' \  / ` || |   \ V  V / | || || (| ||  || || |  |  / | ( | | | || (| || |     _/_/  |||| _,|||  ||||   \|  _||| || _,| \|

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.hazelcast.internal.networking.nio.SelectorOptimizer (file:/C:/Users/web_t/.m2/repository/com/hazelcast/hazelcast/3.11.5/hazelcast-3.11.5.jar) to field sun.nio.ch.SelectorImpl.selectedKeys WARNING: Please consider reporting this to the maintainers of com.hazelcast.internal.networking.nio.SelectorOptimizer WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Wildfire IM server start success...

但是访问http://127.0.0.1/api/version, {        "tags":"null",        "branch":"null",        "dirty":"null",        "remoteOriginUrl":"null",        "commitId":"null",        "commitIdAbbrev":"null",        "describe":"null",        "describeShort":"null",        "commitUserName":"null",        "commitUserEmail":"null",        "commitMessageFull":"null",        "commitMessageShort":"null",        "commitTime":"null",        "closestTagName":"null",        "closestTagCommitCount":"null",        "buildUserName":"null",        "buildUserEmail":"null",        "buildTime":"null",        "buildHost":"null",        "buildVersion":"null" }

最新回复 (1)
  • HeavyRain 2021-6-25
    引用 2
    非常抱歉,我们没有人会用eclipse。。。
返回