Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.5.2版本无法启动 #4803

Closed
GreenCypress opened this issue Jul 22, 2022 · 5 comments
Closed

1.5.2版本无法启动 #4803

GreenCypress opened this issue Jul 22, 2022 · 5 comments

Comments

@GreenCypress
Copy link

找不到是因为什么原因,1.5.1版本可以。

环境

jdk:1.8

启动报错信息如下:

Exception in thread "main" java.lang.reflect.InvocationTargetException
	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:49)
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
	at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:467)
Caused by: java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication
	at io.seata.server.ServerApplication.main(ServerApplication.java:30)
	... 8 more
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.SpringApplication
	at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
	at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:151)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
	... 9 more
@slievrly
Copy link
Member

@GreenCypress any more information? Start by source, release package or Docker?

@GreenCypress
Copy link
Author

@slievrly release package

@GreenCypress
Copy link
Author

@slievrly Just run bin/seata-server.sh

@funky-eyes
Copy link
Contributor

cd bin/seata-server.sh
sh seata-server.sh
因为spring的loader.path写成了../lib所以会加载不到相关的依赖

@liujunlin5168
Copy link
Contributor

你好 请问一下 你应用服务接入seata后可以正常启动么,我本地应用服务启动报错(服务yaml文件没有添加seata.transport.rpcRmRequestTimeout配置)
应用服务依赖信息如下:
seata服务端版本是1.5.2,client端引用seata版本1.5.2,spring版本5.3.7.RELEASE
seata依赖如下:

io.seata
seata-spring-boot-starter
1.5.2


com.alibaba.cloud
spring-cloud-starter-alibaba-seata
2021.1


io.seata
seata-spring-boot-starter


应用服务接入seata启动报错,错误信息如下:
APPLICATION FAILED TO START


Description:

Configuration property name 'seata.transport.rpcRmRequestTimeout' is not valid:

Invalid characters: 'R', 'R', 'T'
Reason: Canonical names should be kebab-case ('-' separated), lowercase alpha-numeric characters and must start with a letter

Action:

Modify 'seata.transport.rpcRmRequestTimeout' so that it conforms to the canonical names requirements.

2022-07-26 11:08:11.362 ERROR 15504 --- [ main] c.t.c.a.Slf4jFailureAnalysisReporter :


APPLICATION FAILED TO START


Description:

Configuration property name 'seata.transport.rpcRmRequestTimeout' is not valid:

Invalid characters: 'R', 'R', 'T'
Reason: Canonical names should be kebab-case ('-' separated), lowercase alpha-numeric characters and must start with a letter

Action:

Modify 'seata.transport.rpcRmRequestTimeout' so that it conforms to the canonical names requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants