Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.0k views
in Technique[技术] by (71.8m points)

404 error for spring boot @restcontroller in weblogic

I have deployed a war file containing the spring rest controller but while accessing it 404 error is appearing. I have followed steps from https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-cli.html like already have

org.springframework.web.context.ContextLoaderListener so org.springframework.boot.legacy.context.web.SpringBootContextLoaderListener is not deploying war.

Few of the configurations were having conflict so I could not add them in web.xml. Can someone review and help in solving the issue?

Is there a way to enable debug logs to know the actual problem, as it is very difficult to solve without error logs?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...