B.king
B.king

Reputation: 1

Perhaps you are running on JRE rather than JDK

I made a project by appfuse.The command is:

mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes 
-DarchetypeArtifactId=appfuse-light-spring-security-archetype 
-DarchetypeVersion=3.5.0 -DgroupId=com.mycompany -DartifactId=myproject 
-DarchetypeRepository=https://oss.sonatype.org/content/repositories/appfuse 

I have build others project by other appfusecommand. I try to run them projects. I have the same problem like this:

  No compiler is provided in this environment.
 Perhaps you are running on a JRE rather than a JDK?

I checked my Operating Environment,changed the jre to jdk, included eclipse, mvn build runtime Environment. But it also has the same problem. I need help.

Upvotes: 0

Views: 390

Answers (0)

Related Questions