Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project electronicbookshop: Compilation failure

<plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>2.4</version>
            <configuration>
                <source>1.8</source>
                <target>1.8</target>
</configuration>
</plugin>
Comment

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile

Error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile.....

Use the surefire plugin, compiler plugin:

As of today the latest version is:
(put it inside <build><plugins>)
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-plugin</artifactId>
    <version>3.0.0-M6</version>
</plugin>

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>3.10.1</version>
</plugin>
Comment

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3

<properties>
 <maven.compiler.source>1.8</maven.compiler.source>
 <maven.compiler.target>1.8</maven.compiler.target>
</properties>
Comment

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project a2: Compilation failure [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

set JAVA_HOME=<ABSOLUTE_PATH_TO_JDK>
Comment

PREVIOUS NEXT
Code Example
Javascript :: list methods of object js 
Javascript :: js code to take value from form and store it in a variable 
Javascript :: sequelize.org findById 
Javascript :: trigger send parameter 
Javascript :: /on in jquery 
Javascript :: update angular 
Javascript :: angular call function every x seconds 
Javascript :: how to disable react in jsx scope eslint 
Javascript :: javascript foreach array of object get value by key 
Javascript :: how to reverse a string in javascript 
Javascript :: javascript round to 2 digits 
Javascript :: how to master javascript 
Javascript :: javascript get distinct values from array 
Javascript :: react delete button onclick 
Javascript :: how to delete a variable in js 
Javascript :: js unique array 
Javascript :: white screen issue in react native splashscreen 
Javascript :: USA phone number validator angular 
Javascript :: ajax datatable reload paging retained 
Javascript :: Jquery trigger change event upon dom ready 
Javascript :: falsy javascript 
Javascript :: transitionduration js 
Javascript :: test undefined js 
Javascript :: livewire file upload progress 
Javascript :: could not resolve module fs react native 
Javascript :: buffer from base64 
Javascript :: Type io.invertase.firebase.BuildConfig is defined multiple times 
Javascript :: javascript get element position relative to document 
Javascript :: js json to object 
Javascript :: electron get exe path 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =