Skip to content

Files

Latest commit

e70095c · Dec 13, 2017

History

History
41 lines (24 loc) · 1.69 KB

README.md

File metadata and controls

41 lines (24 loc) · 1.69 KB

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)