I have a basic JavaFX project set up in IntelliJ: The project uses Gradle for dependency management. The dependency that was added by my is javax.mail.api as you can see in the build.gradle file here: The iissue I have now is that when trying to execute to programm with the following run configuration: I get the following exception: The module-info.java
Tag: gradle
Gradle: Execution failed for task ‘:test’. > No tests found for given includes:
I try to run this single unit test of this open-source project on GitHub with IntelliJ. The test class The build.gradle What I have tried Updating to the newest JUnit testImplementation group: ‘org.junit.jupiter’, name: ‘junit-jupiter-api’, version: ‘5.9.1’ Adding this to my build.gradle file: test { useJUnitPlatform() } The only workaround yet: When I go to Settings -> Build-Tool -> Gradle
Gradle, Apache TomEE – TomEEWebappClassLoader loader constraint violation
The gradle project runtime at Apache TomEE plus has the error java.lang.LinkageError: loader constraint violation: loader (instance of org/apache/tomee/catalina/TomEEWebappClassLoader) previously initiated loading for a different type with name “javax/faces/context/ExternalContext” at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2489) at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:875) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1376) at org.apache.tomee.catalina.TomEEWebappClassLoader.loadClass(TomEEWebappClassLoader.java:184) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1220) at org.apache.tomee.myfaces.TomEEWebConfigProvider.getFacesServletMappings(TomEEWebConfigProvider.java:36) at org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:163) at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:103) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4766) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
React Native Task error ‘:app:processDebugMainManifest FAILED’
I recently upgraded React Native 0.63.4 to 0.70.1 and have been trying to iron everything out re upgrading packages and dependencies etc. I’m really stuck on this particular error and can’t seem to find a solution. The command prompt says: Task :app:processDebugMainManifest FAILED … FAILURE: Build completed with 2 failures. 1: Task failed with an exception. What went wrong: Execution
1.12.2 Forge and modern intelliJ IDEA not loading resources [closed]
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 5 months ago. Improve this question
IntelliJ: Unresolved reference, but gradle build still succeeds
I have a Java library https://github.com/skycavemc/skycavelib which I want to use in a Kotlin project. This is the build.gradle where I have the library as dependency: I also made sure I have a file named local.properties in my project where I set gpr.user and gpr.key correctly. The authentication works and the library is downloaded and indexed. IntelliJ also shows the
AbstractGoogleClientRequest and GoogleClientRequestInitializer class not found in com.google.api-client:google-api-client-android:2.0.0
My Android app with Cloud Endpoints says these classes do not exist when using any version higher than 1.31.0 of the following import The latest version is 2.0.0 but even 1.32.1 has the issue. Anything that is 1.31.0 or lower works. This is what my code looks like (taken from this link): Is there a different way to be doing
java.lang.NoSuchFieldError: Companion when using `influx-client-reactive` and `quarkus`
Error occurs when instantiating a client dependency is excluded from quarkus-bom otherwise (3.x.x) is forced and would cause at the same line. trace: Answer This issue led me to think that com.squareup.okio:okio might also play a role here. That Options.of is a call to method in that dependency and not Optional from java. That there is nothing strange here other
How to configure VSCode on Linux to make it apply different JAVA_HOME for Gradle in different projects?
Right now I have a Spring project (needs Java 17) and a minecraft-forge-1.12 project (needs Java 8) on the same system. I want vscode to automatically change JAVA_HOME between /usr/lib/jvm/java-17-openjdk-amd64 and /usr/lib/jvm/java-8-openjdk-amd64 for gradlew command when I switch between these two project. I tried using .vscode/settings.json to do that, but java.import.gradle.java.home cannot change in settings.json, so I can’t change this
How can I move liquibase block from build.gradle to standalone plugin on java?
I faced with issue that I need use Liquibase migration without running application. (through the command ./gradlew update) I added the following section to one of my projects: This works, but it takes up a lot of space in build.gradle, and the same task needs to be added to other projects as well. Is it possible to bring this section