HC小区系统论坛
一个开源免费商用的小区物业管理系统
管理员
Joined: May 26 2021
Posts: 100

所有问题 以发布帖子的方式 发布,处理结果会在帖子下面回复

Member
Joined: Jun 16 2021
Posts: 25

1、使用如下命令在centos7.6系统的服务器上启动商家版jar文件,报错
启动命令是:
echo "启动8019 marketservice";
nohup java -jar -Xms256M -Xmx256M -Dserver.port=8019 ./mall-back/service-mall-market.jar > service-mall-market.out 2>&1 &
报错:

SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
Exception in thread "main" java.lang.ExceptionInInitializerError
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
Caused by: org.apache.logging.log4j.LoggingException: log4j-slf4j-impl cannot be present with log4j-to-slf4j
at org.apache.logging.slf4j.Log4jLoggerFactory.validateContext(Log4jLoggerFactory.java:49)
at org.apache.logging.slf4j.Log4jLoggerFactory.newLogger(Log4jLoggerFactory.java:39)
at org.apache.logging.slf4j.Log4jLoggerFactory.newLogger(Log4jLoggerFactory.java:30)
at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:54)
at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:30)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383)
at com.java110.cart.CartServiceApplicationStart.<clinit>(CartServiceApplicationStart.java:47)
... 8 more

管理员
Joined: May 26 2021
Posts: 100

这个错误描述 看不出来问题所在,建议重新下载jar报 如果还无法解决 请联系QQ 928255095

Member
Joined: Jun 16 2021
Posts: 25

你那边可以执行这个命令看一下
nohup java -jar -Xms256M -Xmx256M -Dserver.port=8019 ./mall-back/service-mall-market.jar > service-mall-market.out 2>&1 &

我根据报错查了下 可能是报冲突引起的。目前我这边没法修改和排查。

Member
Joined: Jun 16 2021
Posts: 25

亲,宝塔部署流程里面 提供的下载的jar 是有问题了,真该核对好了 再往上面发布。加你qq 联系你好几天 也等不到回复。。

Member
Joined: Jun 16 2021
Posts: 25

论坛里面 另一个地址里面下载的jar是正常的。

Member
Joined: Jun 16 2021
Posts: 25

商城版jar正常启动之后,注册了一个账号,拿该账号首次登录,完善完公司信息后,提交报错。

完善商家信息
请仔细填写商家相关信息,有利于快速审核
内部异常了:No instances available for acct-serviceNo instances available for acct-service

req_time=[20210625043142], sign=[]}>,中心服务返回信息,<500 Internal Server Error,内>部异常了:No instances available for acct-serviceNo instances available for acct-service,{}>

管理员
Joined: May 26 2021
Posts: 6

商城jar可以正常跑起来啊,我们是跑起来之后才截图做的教程。你后来下载的jar包地址回复一下 我们看看。

管理员
Joined: May 26 2021
Posts: 6

nohup java -jar -Xms256M -Xmx256M -Dserver.port=8019 ./mall-back/service-mall-market.jar > service-mall-market.out 2>&1 &

这个指令写的有问题啊,你仔细看一下。

Member
Joined: Jun 16 2021
Posts: 25

zhang wrote:

商城jar可以正常跑起来啊,我们是跑起来之后才截图做的教程。你后来下载的jar包地址回复一下 我们看看。