All Questions
826
questions
0
votes
1
answer
86
views
Execution failed for task ':app:mergeDexDebug'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:mergeDexDebug'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Failed to ...
0
votes
1
answer
33
views
Error when running Spring Boot app with embedded Tomcat
I have the following configuration for a Springboot application:
DemoApplication.kt
package com.planes.planesserver
import org.springframework.boot.autoconfigure.SpringBootApplication
import org....
0
votes
0
answers
67
views
Problems building a .jar from a github repo?
I am completely new to github and coding, and I'm trying to build a .jar out of the 1.18.2 branch of https://github.com/Ethonodon/FossilsArcheologyRevival. I have googled like crazy to search for ways ...
0
votes
0
answers
22
views
Import jar that uses Maven in Android Studio
I've finished a Maven Project that includes a SpringBoot Server.
I packed the server into a jar and it's runnable.
After running it from my phone and it worked, I thought it would be nice to have an ...
0
votes
1
answer
94
views
How can I add external libraries to my jar file using IntelliJ Idea and Gradle?
I do have a Telegram Bot project in my IntelliJ Idea and it runs good inside IDE.
My goal was to build a jar file to test this app outside of my IDE.
After I build my jar file I always encounter same ...
0
votes
0
answers
28
views
grpc connection not working from jar file, DomainSocketAddress cannot be cast to class java.net.InetSocketAddress
I'm trying to make a grpc server and client, using the example from the github repo. It works fine when I run the Main.kt from IntelliJ, however when I build the jar file and run that, it throws upon ...
1
vote
0
answers
51
views
How to Run cucumber test cases from jar? Jar not able to find stepdefinitions?
While Running Cucumber Test cases from Jar its not able to find step definations?
project-root
│
├── src
│ ├── main
│ │ └── java
│ │ └── com.example.package
│ │ └── Main....
1
vote
1
answer
72
views
JavaFX issues to build an artifact and jar
I'm using Gradle build system in intellij
I tried to create an artifact and build jar in intellIj , but there are 3 issues i encountered:
1)go to project structure/artifacts create an jar with type ...
0
votes
0
answers
52
views
Gradle Shadow plugin relocate an SPI service while preserving the service file name in META-INF/services
I wonder how can I package a JAR with Gradle Shadow plugin where one would relocate a third-party Service Provider (SPI) while preserving the service file name in META-INF/services (just the name, the ...
1
vote
1
answer
312
views
Third-party java libraries when creating minecraft mods
I am creating a simple mod for minecraft version 1.19.2.
I downloaded forge 1.19.2-43.0
and decided to add a dependency of a third-party java library. or rather, the twitch4j library (https://github....
0
votes
2
answers
516
views
spring dependency management gradle plugin dependency version jars
Can import dependency management in two ways.
plugins {
id 'io.spring.dependency-management' version '1.1.4'
}
dependencies {
implementation platform("org.springframework.boot:spring-boot-...
0
votes
0
answers
56
views
How to include other module files while generating a jar in gradle
Lets say I have a spring boot java gradle project with the following structure:
project
│
└───moduleA
│ │ Class1.java
│ │ Class2.java
│ │ build.gradle
│
└───moduleB
│ │ ClassA....
0
votes
0
answers
129
views
Can't link external config file to FatJar in Ktor
I generated a FatJar using the ./gradlew buildFatJar command. However when I'm trying to run the .jar file under the "build/libs/" folder I get the following error:
Exception in thread "...
0
votes
0
answers
60
views
'Failed to determine a suitable driver class' by running fat jar file
I've created a fat-jar file from my spring boot project by using shadow gradle plugin.
Below is part of my build.gradle file:
plugins {
id 'com.github.johnrengelman.shadow' version '8.1.1'
id '...
0
votes
0
answers
224
views
BIRT Report Engine API createFactoryObject returns null
I'm trying to use BIRT's Report Engine API to run and render reports from a Java program.
I'm using Gradle 8.5 and JDK 21 to build and run the program.
I have no problem executing the program and ...