Comments (8)
Hi @hustlemickey, did you build the turms-service
with the artifact-fat-jar
maven profile? If not, please build the jar with the artifact-fat-jar
profile, and run run.sh -f
again to have a try.
Command example: mvn clean package -am -B -DskipUTs -DskipITs -P artifact-fat-jar -pl turms-service
Background
Turms servers are built as thin jars that contain no dependencies, so if you run run.sh -f
(-f
means run as a fat jar
) with these thin jars, The Could not find or load main class org.springframework.boot.loader.JarLauncher
error will occur.
from turms.
yes, I build with
mvn clean package -am -B -DskipUTs -DskipITs -P artifact-fat-jar -pl turms-gateway --no-transfer-progress
and
mvn clean package -am -B -DskipUTs -DskipITs -P artifact-fat-jar -pl turms-service --no-transfer-progress
still same error
from turms.
turms-service out put jar is 60M, is it correct size with fat jar?
from turms.
Yes. the jar ends with -exec.jar
is the fat jar that you should run to run with run.sh -f
.
from turms.
but still error, any possible reason?
from turms.
I found the reason in run.sh
MAIN_CLASS="org.springframework.boot.loader.JarLauncher"
should be
MAIN_CLASS="org.springframework.boot.loader.launch.JarLauncher"
from Spring Boot version 3.2.0-RC1, the class org.springframework.boot.loader.JarLauncher has been moved to org.springframework.boot.loader.launch.JarLauncher
from turms.
Thanks for pointing it out. I will update it later after full testing.
btw, you can use the code under the master
branch to build and run for stability. The develop
branch is used for development purposes, so it is not as stable as master
.
from turms.
thanks
from turms.
Related Issues (20)
- Support watermark encryption with a large key space
- Use GPU (CUDA) to embed and extract watermark
- ppocr_keys_v1.txt Download address invalid HOT 1
- turms-plugin-push 的使用
- To implement the UserAuthenticator plug-in, I write the user to mongodb when verifying the user. How to write userVersion? HOT 7
- How does the client end the current session history message? HOT 1
- 镜像插件不加载 HOT 3
- Messages are lost in cluster service mode
- message search filter HOT 3
- 关于预发环境redis需不需要隔离的问题 HOT 1
- com.google.protobuf.GeneratedMessageV3 no have HOT 1
- Support scheduling meetings
- Support getting public IPs from cloud service providers
- Introduce a new plugin `turms-plugin-livekit` to support video conference HOT 1
- Add docs on video conferencing
- Some question about data storage Need help HOT 2
- Detect and remove the dead conflicted node to recover from forced shutdown faster HOT 1
- UserAuthenticator plugin gateway error HOT 6
- 镜像启动后报错,导致minio初始化失败 HOT 1
- Help! How can i get the messages sent by me HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turms.