How do you run the application? It’s probably because you use Gradle as the build system and JDK14 and the Gradle version is old. Reference: https://github.com/gradle/gradle/issues/10248
If you use Gradle Wrapper then refer to $PROJECT_ROOT/gradle/wrapper/gradle-wrapper.properties
. Property distributionUrl should be: distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-bin.zip
If it’s an older version then change it, run ./gradlew clean build
and try again.
Related Posts:
- Java file outside of source root intelliJ
- java.lang.reflect.InvocationTargetException: null
- Spring Boot – Unable to resolve Whitelabel Error Page
- Spring @PropertySources value not overriding
- Spring boot – Request method ‘POST’ not supported. Tried everything
- org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when ‘hibernate.dialect’ not set
- org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when ‘hibernate.dialect’ not set
- org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when ‘hibernate.dialect’ not set
- org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘demoRestController’
- Consider defining a bean of type ‘package’ in your configuration [Spring-Boot]
- Spring boot error:java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
- Web server failed to start. Port 8080 was already in use. Spring Boot microserviceWeb server failed to start. Port 8080 was already in use. Spring Boot microservice
- Web server failed to start. Port 8080 was already in use. Spring Boot microservice
- How to resolve Unable to load authentication plugin ‘caching_sha2_password’ issue
- What is the proper annotation since @SpringApplicationConfiguration, @WebIntegration, is deprecated in Spring Boot Framework?
- Configure active profile in SpringBoot via Maven
- The request was rejected because no multipart boundary was found in springboot
- java.lang.IllegalStateException: Failed to introspect Class
- Spring boot: Unable to start embedded Tomcat servlet container
- Spring Boot – Cannot determine embedded database driver class for database type NONE
- What does Java option -Xmx stand for? [duplicate]
- How to convert nanoseconds to seconds using the TimeUnit enum?
- Using or ‘|’ in regex [duplicate]
- && (AND) and || (OR) in IF statements
- Unable to find valid certification path to requested target – error even after cert imported
- Java – Convert integer to string [duplicate]
- How to uninstall Eclipse?
- Error parsing data org.json.JSONException: Value
- Converting array to list in Java
- Java – What does “\n” mean?
- What does “|=” mean? (pipe equal operator)
- What is the difference between a static method and a non-static method?
- Is there a method that calculates a factorial in Java?
- What is Java Servlet?
- EOFException – how to handle?
- How to fix array index out of bounds error?
- Working with a List of Lists in Java
- How do I analyze a .mdmp file?
- Initialize List
- > in Java
- “No X11 DISPLAY variable” – what does it mean?
- en_US or en-US, which one should you use?
- Does Java support default parameter values?
- What is the difference between String.subString() and String.subSequence()
- Why Maven project is tied to J2SE-1.5 by default?
- what does Dead Code mean under Eclipse IDE Problems Section
- Print in new line, java
- How to override equals method in Java
- Java compressing Strings
- Can an abstract class have a constructor?
- “NoClassDefFoundError: Could not initialize class” error
- Recursive print Factorial
- Recompile with -Xlint:unchecked for detail error in java
- Convert array of strings into a string in Java
- How can I clear or empty a StringBuilder?
- Generate a random double in a range
- Eclipse “Error: Could not find or load main class”
- How to get locator of current web element?
- javax.naming.NameNotFoundException
- How to print out all the elements of a List in Java?
- If Java is Strongly typed then why does this code compile?
- Error: cannot find symbol ArrayList
- Choosing the best concurrency list in Java
- Why nextLine() and not nextString() ?
- Any implementation of Ordered Set in Java?
- No Persistence provider for EntityManager named
- What does it mean: JavaFX application class must extend javafx.application.Application?
- Using Math.round to round to one decimal place?
- How to replace a substring of a string
- accessing a variable from another class
- “Javac” doesn’t work correctly on Windows 10
- How to pause my Java program for 2 seconds
- How to convert a byte array to a hex string in Java?
- Shuffle a deck of cards in Java
- How to return a boolean method in java?
- Java read file and store text in an array
- Getting java.sql.SQLException: Operation not allowed after ResultSet closed
- MultipartException: Current request is not a multipart request
- How to extract a substring using regex
- .class vs .java
- Case expressions must be constant expressions for static final int?
- try catch ArrayIndexOutOfBoundsException?
- Response has aready been committed
- How do I test a class that has private methods, fields or inner classes?
- how to make jni.h be found?
- Why is there no multiple inheritance in Java, but implementing multiple interfaces is allowed?
- Resource leak: ‘in’ is never closed
- JavaFX and OpenJDK
- What’s the difference between JPA and Hibernate?
- Java console program
- “Source folder is not a Java project” error in eclipse
- How to memory profile in Java?
- java.lang.IllegalThreadStateException
- What is an
method in Java? Can it be overridden? - The sum of all squares between 1 and 100 inclusive?
- How do I initialize a byte array in Java?
- How to map a composite key with JPA and Hibernate?
- Javac “cannot find symbol”
- Java Keytool error after importing certificate , “keytool error: java.io.FileNotFoundException & Access Denied”
- compilation error: identifier expected
- Setting background images in JFrame