Skip to content

StudentsAdministration/spring_compiler_runtime_errors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

Spring Compiler and runtime errors

When compiling you at some point will get some errors.
Here are a few examples of which errors you might encounter, and how to solve them.

Please help writing this document adding other posible errors by creating a pull request. See how it is done here

Compilor errors

2 applications running at the same port

***************************
APPLICATION FAILED TO START
***************************

Description:

The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured.

Action:

Verify the connector's configuration, identify and stop any process that's listening on port 8080, or configure this application to listen on another port.

2017-12-06 18:20:58.240  INFO 18967 --- [           main] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@13eb8acf: startup date [Wed Dec 06 18:20:57 CET 2017]; root of context hierarchy
2017-12-06 18:20:58.241  INFO 18967 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans on shutdown

Process finished with exit code 1

Problem: You have another application running on the same port.
Solution: turn off the other application.

Runtime errors

Solution: Remove the <meta charset="UTF-8"> on line 4 in your html file. Or make sure that you html file is in the xhtml style (not html5)

About

Possible compiler errors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published