Failed come execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on task Sym360: Compilation failure: Compilation failure: resource option 5 is no much longer supported. Usage 6 or later.

You are watching: Source option 5 is no longer supported. use 6 or later.

Target option 1.5 is no longer supported. Use 1.6 or later. ->


This problem is because the maven is not able to recognize which version of java compiler should use while construct your code.


There room two equipment to handle such problem.

If you space using basic maven java applications then friend can add these currently in friend pom.xml nature tag .
If you application is spring boots application and also defining maven compiler then include these lines in her pom.xml develop tag.
Based ~ above your code written and also compatibility of java version, you have the right to update this java version prefer java 11 etc.

I have actually solved this problem by utilizing these two solution. If you know any kind of other means to settle it write in comments to aid others.

Previous Post: IOError in PythonNext Post: Maven Error “Failed come execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project XYZ: There room test failures.”





Follow Blog via Email

Enter your email attend to to follow this blog and also receive notifications of new posts through email.

See more: Majestic New York Yankees Derek Jeter Retirement Jersey, Derek Jeter'S No

Blogs through CategoryBlogs by CategorySelect CategoryAlgorithm(29)Annotation(2)Ant(1)apache camel(2)Architect(9)camel(2)Centralize logging(7)Collections(26)Complexity(4)Convert(2)Data Structure(24)Date(24)Difference(12)eclipse(8)EJB(2)ELK(45)Elasticsearch(27)Error(15)Example(17)Exception(35)file(3)Filebeat(20)Filebeat Issues(1)Formatting(1)Fortify(1)Gradle(10)Groovy(1)Hibernate(12)how to(5)HTML(3)CSS(1)Java Script(2)JQuery(1)Interview questions & Answers(2)IO(8)Java(254)array(1)Collection(27)java 8(11)Java Classes(2)Java Concept(3)Java Logging(4)java.lang.StringIndexOutOfBoundException(1)JAXB(3)JDBC(37)JMS(2)JNDI(2)JPA(8)JSON(29)GSON(4)JSP(1)junit(17)Kafka(14)Kibana(3)Liferay(1)LOG4J2(6)Logstash(15)Mask(17)Maven(13)mockito(7)MySQL(2)Object(1)oops(16)ORM(1)Programming Test(36)Python(46)RDBMS(8)Regular Expression(1)REST(6)Search(3)Security(7)Sort(18)sorting(18)Spring(7)Spring Boot(18)Spring Data JPA(1)String(3)STS(3)Tika(29)Time(8)Tomcat(3)Tutorials(2)Type Cast(1)Uncategorized(6)Vs(14)Web(1)YAML(13)Zookeeper(3)
TutorialsIssues SolutionsRecommendationsInterview Questions and AnswersFollow Our blogs via Email

Enter your email address to follow this blog and receive notifications that our new posts by email.