NutzCN Logo
问答 Budiot linux 部署无法找到对应budiot jar
发布于 55天前 作者 qq_a560a299 616 次浏览 复制 上一个帖子 下一个帖子
标签:
[INFO] --- jar:3.3.0:jar (default-jar) @ budiot-server ---
[INFO]
[INFO] --- install:3.1.0:install (default-install) @ budiot-server ---
[INFO] Installing /www/wwwroot/budiot/budiot-java-server/budiot-server/pom.xml to /root/.m2/repository/com/budwk/app/budiot-server/1.0.0/budiot-server-1.0.0.pom
[INFO] Installing /www/wwwroot/budiot/budiot-java-server/budiot-server/target/budiot-server.jar to /root/.m2/repository/com/budwk/app/budiot-server/1.0.0/budiot-server-1.0.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for budiot 1.0.0:
[INFO]
[INFO] budiot ............................................. SUCCESS [  0.579 s]
[INFO] budiot-access ...................................... SUCCESS [  0.023 s]
[INFO] budiot-access-message .............................. SUCCESS [  7.620 s]
[INFO] budiot-access-common ............................... SUCCESS [  0.222 s]
[INFO] budiot-access-storage .............................. SUCCESS [  0.427 s]
[INFO] budiot-common ...................................... SUCCESS [  5.868 s]
[INFO] budiot-access-network .............................. SUCCESS [  0.024 s]
[INFO] budiot-access-network-common ....................... SUCCESS [  0.201 s]
[INFO] budiot-access-protocol ............................. SUCCESS [  0.018 s]
[INFO] budiot-access-protocol-core ........................ SUCCESS [  0.147 s]
[INFO] budiot-access-network-tcp .......................... SUCCESS [  0.830 s]
[INFO] budiot-access-network-udp .......................... SUCCESS [  0.649 s]
[INFO] budiot-access-network-http ......................... SUCCESS [  0.675 s]
[INFO] budiot-access-network-mqtt ......................... SUCCESS [  0.591 s]
[INFO] budiot-access-network-modbus-master ................ SUCCESS [  0.557 s]
[INFO] budiot-access-network-modbus-slave ................. SUCCESS [  0.494 s]
[INFO] budiot-access-protocol-demo-tcp .................... SUCCESS [  0.129 s]
[INFO] budiot-access-processor ............................ SUCCESS [  4.505 s]
[INFO] budiot-access-gateway .............................. SUCCESS [  2.916 s]
[INFO] budiot-server ...................................... SUCCESS [  6.907 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  35.873 s
[INFO] Finished at: 2024-09-27T10:36:27+08:00
[INFO] ------------------------------------------------------------------------

请问后端运行的budiot jar文件在哪里?需要如何操作?

2 回复

根据开发指南,对应命令的budiot.jar似乎在项目文件内找不到

nohup java -jar budiot.jar >/dev/null 2>&1 &

当在budiot-java-server下执行打包时:


[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for budiot 1.0.0: [INFO] [INFO] budiot ............................................. SKIPPED [INFO] budiot-access ...................................... SKIPPED [INFO] budiot-access-message .............................. SKIPPED [INFO] budiot-access-common ............................... SKIPPED [INFO] budiot-access-storage .............................. SKIPPED [INFO] budiot-common ...................................... SKIPPED [INFO] budiot-access-network .............................. SKIPPED [INFO] budiot-access-network-common ....................... SKIPPED [INFO] budiot-access-protocol ............................. SKIPPED [INFO] budiot-access-protocol-core ........................ SKIPPED [INFO] budiot-access-network-tcp .......................... SKIPPED [INFO] budiot-access-network-udp .......................... SKIPPED [INFO] budiot-access-network-http ......................... SKIPPED [INFO] budiot-access-network-mqtt ......................... SKIPPED [INFO] budiot-access-network-modbus-master ................ SKIPPED [INFO] budiot-access-network-modbus-slave ................. SKIPPED [INFO] budiot-access-protocol-demo-tcp .................... SKIPPED [INFO] budiot-access-processor ............................ SKIPPED [INFO] budiot-access-gateway .............................. SKIPPED [INFO] budiot-server ...................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.440 s [INFO] Finished at: 2024-09-27T10:45:53+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] No plugin found for prefix 'nutzboot' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/root/.m2/repository), nutz-snapshots (https://jfrog.nutz.cn/artifactory/snapshots), nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public)] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException [
mvn package nutzboot:shade -Dmaven.test.skip=true
添加回复
请先登陆
回到顶部