Can't run Spring Boot app on eclipse tomcat embedded

546 Views Asked by At

I have a Spring Boot application that run without problem as java application but I can't run it in eclipse tomcat embedded. I have already made the appropriate changes to create a war by maven but I have the following error:

Converted JNDI name [java:comp/env/logging.level] not found - trying original name [logging.level]. javax.naming.NameNotFoundException ....... and many similar mistakes

From command line or from eclipse I can run the app as Java Application (jar) and serve on port 8080 like default. If run (debug mode) through eclipse tomcat embedded it fails here:

DefaultPropertyMapper.map (ConfigurationPropertyName) line: 49

49: String convertedName = configurationPropertyName.toString();

It fails only if i run tomcat in debug

0

There are 0 best solutions below