score:1
Accepted answer
change the version in pom to 1.8 instead of jdk1.8.0_172
<configuration>
<toolchains>
<jdk>
<version>1.8</version>
<vendor>sun</vendor>
</jdk>
</toolchains>
</configuration>
score:0
check your directory path carefully. the two comments about file location and testing with maven --toolchains c:\user\zzz\.m2\toolchains.xml clean install
helped me see that my folder was "m2" and not ".m2".
Source: stackoverflow.com
Related Query
- Failed to Build Application Getting Error::No toolchain found for type jdk
- Launch Failed Binary not found Eclipse for C in Windows
- Maven build failed due to JDT dependencies - No versions available for org.osgi.service:org.osgi.service.prefs:jar:[1.1.0,1.2.0)
- Why I am getting class not found exception for Class.forName("com.mysql.jdbc.Driver");
- Getting the following build error: "the type {---} cannot be resolved. it is indirectly referenced from required .class files"
- Update Robolectric 2.4: Getting application tag error for library projects in eclipse
- Static resources not found in (Selenium) JUnit test for Play 2.0 application executed from Eclipse
- Getting "The method isEmpty() is undefined for the type Optional" Error in Java File
- No suitable MySQL driver found for JBoss application
- Warning in jsp : The tag handler class for "s:form" (org.apache.struts2.views.jsp.ui.FormTag) was not found on the Java Build Path
- Android. How correct to set Build Target for application and Min SDK version?
- Android Source build in eclipse failed - Account cannot be resolved to a type
- Why am I getting the following error? "No unique bean of type is defined: expected single matching bean but found 3"
- Kura source code maven build failed with jdk:jdk.dio:jar:1.0.1 not found
- Build multi-platform executable for a SWT application (Eclipse)
- Simple spring-boot application with pom.xml and app.java is showing build failed error
- Why am I getting an error for main method not being found when running an example program?
- Generated Gradle Build Files for my project; Now getting noclassdeffounderror when I run
- Build android application for release using ant in eclipse
- Automating build process for a web application created in Eclipse
- How to fix Error in Maven build for new spring boot application intialized from start.spring.io
- Getting this Error : -" java.sql.SQLException: No suitable driver found for". When I use Hibernate Config for reverse eng. my DB
- Getting error while running spark job for cassandra connector - Caused by: java.io.IOException: Failed to write statements to test.events
- /bin/sh: mpic++ command not found in Eclipse for Parallel Application Developers
- Type error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'.
- Eclipse: Getting the path for the current project through code? Sevlet, web application
- Failed to bundle Java application 1.8 for Mac
- Eclipse: Edit toolchain (remove build step to create a shared library for CUDA)
- using GlassFish 4.0 and getting No suitable driver found for jdbc:mysql error
- eclipse c++ build error Undefined symbols for architecture x86_64: ld: symbol(s) not found for architecture x86_64
More Query from same tag
- I'm having trouble comparing a character against input. Specifically a character in a string to "\"
- Finding all references on Eclipse
- Android Java - How to download zip file from URL?
- Tomcat in Eclipse not starting my webapp
- Python code works, but eclipse shows error - Syntax error while detecting tuple
- subprocess.Popen() has inconsistent behavior between Eclipse/PyCharm and terminal execution
- Javac flags and Eclipse settings to process Class.<GenericType>method() invocations
- Instatiate an IFile for a file existing in Eclipse Workspace
- JSP markup error
- Input not taken from eclipse CDT
- How to import a listing of dependencies
- Is there a predefined macro for Configuration type in Eclipse CDT?
- PagerTabStrip cannot be resolved to a type
- Signature invalid while trying to retrieve accesToken for copy api
- How to create war files
- Eclipse Implementation View
- Can't connect to mongod instance from Java on Eclipse
- How to dynamically inject WebDriver path and WebDrivers at runtime
- Change eclipse Help home page
- In Eclipse, how can I exclude some files (maybe based on the .svn extension or filename) from being copied to the output folder?
- Eclipse AVD not displaying
- Eclipse JDT Batch Compiler Compliance 1.6
- installing pandas in pydev eclipse neon 2
- How do I stop command line developers tool icon from showing
- Transparent SWT Canvas
- Path to .class file in eclipse
- Running a .jar file without a GUI
- Not loading AVD platform 4.0 (API Level 14) in Eclipse Indigo
- Google Maps in the Eclipse Emulator doesn't appear
- FMU SDK in Eclipse