I am trying below example(SpringHibernateMavenProject)
https://github.com/Nirman-Rathod/Spring
I see all errors in below 2 classes
I got attached error.
Please advise hw to fix and execute this example?
please advise
You'll need to configure the Maven compiler plugin by adding the appropriate configuration to your pom.xml, to set the Java version to whatever version you are using. Instructions here: Setting the -source and -target of the Java Compiler
when i add as above getting xsd error
cvc-complex-type.2.4.a: Invalid content was found starting with element 'plugins'. One of '{"http://maven.apache.org/POM/4.0.0":parent, "http://maven.apache.org/POM/4.0.0":description, "http://maven.apache.org/POM/
4.0.0":prerequisites, "http://maven.apache.org/POM/4.0.0":issueManagement, "http://maven.apache.org/POM/4.0.0":ciManagement, "http://maven.apache.org/POM/4.0.0":inceptionYear, "http://maven.apache.org/POM/
4.0.0":mailingLists, "http://maven.apache.org/POM/4.0.0":developers, "http://maven.apache.org/POM/4.0.0":contributors, "http://maven.apache.org/POM/4.0.0":licenses, "http://maven.apache.org/POM/4.0.0":scm, "http://
maven.apache.org/POM/4.0.0"rganization, "http://maven.apache.org/POM/4.0.0":build, "http://maven.apache.org/POM/4.0.0":profiles, "http://maven.apache.org/POM/4.0.0":modules, "http://maven.apache.org/POM/
4.0.0":pluginRepositories, "http://maven.apache.org/POM/4.0.0":reports, "http://maven.apache.org/POM/4.0.0":reporting, "http://maven.apache.org/POM/4.0.0":dependencyManagement, "http://maven.apache.org/POM/
4.0.0":distributionManagement, "http://maven.apache.org/POM/4.0.0":properties}' is expected.
please advise

It is sorta covered in the JavaRanch Style Guide. |