You need to check which jar is giving problem. It must be corrupted. Delete that jar and run mvn spring-boot:run
command again. May be more that one jar has corrupted so every time you need to run that command to delete that jar. In my case mysql, jackson, aspect jars was corrupted mvn spring-boot:run
command 3 times and I figure out this and deleted the jars from .m2
folder. Now the issue has resolved.
Related Posts:
- Maven skip tests
- Maven 3 and JUnit 4 compilation problem: package org.junit does not exist
- web.xml is missing and
is set to true - How to force maven update?
- Connecting to Git team provider failed
- how to run the command mvn eclipse:eclipse
- A fatal error has been detected by the Java Runtime Environment. EXCEPTION_ACCESS_VIOLATION
- mvn command is not recognized as an internal or external command
- web.xml is missing and
is set to true - Getting “Skipping JaCoCo execution due to missing execution data file” upon executing JaCoCo
- Maven Could not resolve dependencies, artifacts could not be resolved
- Eclipse/Maven error: “No compiler is provided in this environment”
- What causes “Unable to access jarfile” error?
- Can’t execute jar- file: “no main manifest attribute”
- Can’t execute jar- file: “no main manifest attribute”
- What exactly does a jar file contain?
- Running JAR file on Windows
- What is Java Servlet?
- How is “mvn clean install” different from “mvn install”?
- Running JAR file on Windows 10
- The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
- The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
- ‘react-scripts’ is not recognized as an internal or external command
- Differences between “java -cp” and “java -jar”?
- SLF4J: Class path contains multiple SLF4J bindings
- Lombok and Maven
- mvn command not found in OSX Mavrerick
- java.lang.NoClassDefFoundError: Could not initialize class XXX
- Maven Install on Mac OS X
- How do I create executable Java program?
- Why Maven project is tied to J2SE-1.5 by default?
- Session TimeOut in web.xml
- org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when ‘hibernate.dialect’ not set
- How to decompile a whole Jar file?
- Unable to create requested service [org.hibernate .engine.jdbc.env.spi.JdbcEnvironment]-MySQL
- org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when ‘hibernate.dialect’ not set
- “A java exception has occurred” when opening .jar
- org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when ‘hibernate.dialect’ not set
- mvn command not found in OSX Mavrerick
- unused import statement for used ones in IntelliJ IDEA
- How to resolve Error listenerStart when deploying web-app in Tomcat 5.5?
- Can not deserialize instance of java.lang.String out of START_OBJECT token
- Maven: Non-resolvable parent POM
- org.springframework.web.servlet.PageNotFound noHandlerFound No mapping found for HTTP request with URI
- java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet
- Maven: Failed to read artifact descriptor
- error: This is probably not a problem with npm. There is likely additional logging output above
- Eclipse “Error: Could not find or load main class”
- javax.naming.NameNotFoundException
- Causes of getting a java.lang.VerifyError
- What causes java.lang.IncompatibleClassChangeError?
- java.lang.ClassNotFoundException: com.sun.jersey.spi.container.servlet.ServletContainer
- What exactly is a Maven Snapshot and why do we need it?
- Cannot change version of project facet Dynamic Web Module to 3.0?
- Spring Maven clean error – The requested profile “pom.xml” could not be activated because it does not exist
- web.xml is missing and
is set to true – web.xml is there and can’t edit deployment assembly - Maven error : Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher
- How to solve “Plugin execution not covered by lifecycle configuration” for Spring Data Maven Builds
- Definition of a Java Container
- Access restriction: The type ‘Application’ is not API (restriction on required library rt.jar)
- Error: JAVA_HOME is not defined correctly executing maven
- How can I edit a .jar file?
- JAVA_HOME should point to a JDK not a JRE
- No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
- Corrupt jar file
- Creating Jar with Intellij 2016 – No main manifest attribute
- Understanding Heroku server status 143
- “webxml attribute is required” error in Maven
- How are “mvn clean package” and “mvn clean install” different?
- java.lang.VerifyError: Inconsistent stackmap frames at branch target 421
- What is the difference between JSF, Servlet and JSP?
- JaxbRepresentation gives error “doesnt contain ObjectFactory.class or jaxb.index”
- How to resolve Unable to load authentication plugin ‘caching_sha2_password’ issue
- How to import a jar in Eclipse
- “The import org.springframework cannot be resolved.”
- Invalid signature file digest for Manifest main attributes exception while trying to run jar file
- Invalid initial heap size. Could not create the Java virtual machine
- What’s the difference between JPA and Hibernate?
- How to add a jar in External Libraries in Android Studio?
- “Source folder is not a Java project” error in eclipse
- Configure active profile in SpringBoot via Maven
- Maven build Compilation error : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project Maven
- Difference between jar and war in Java
- How to extract .war files in java? ZIP vs JAR
- Maven: Command to update repository after adding dependency to POM
- java ‘jar’ is not recognized as an internal or external command
- Maven dependency update on commandline
- Could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from/to central (http://repo1.maven.org/maven2)
- Where can I download the jar for org.apache.http package?
- Could not find or load main class with a Jar File
- How do I enable index downloads in Eclipse for Maven dependency search?
- Java error no lwjgl64 in path?
- Why should define(‘RELOCATE’,true) be removed from wordpress config?
- How to: Easily Move a WordPress Install from Development to Production?
- Is Git/GitHub a good WordPress deployment solution?
- Dev, Stage and Production Deployment for WordPress Sites?
- WordPress and Git Workflow
- Is there a drush equivalent for WordPress yet?
- Deployment strategies for WP-Supercache [closed]
- How can I sync WordPress plugin settings between environments?