All Questions
827
questions
-3
votes
0
answers
30
views
Could not find gradle-8.3.0.jar (com.android.tools.build:gradle:8.3.0) [closed]
i just start new project in android studio
and see this error
1'.
Could not resolve all files for configuration ':classpath'.
Could not find gradle-8.3.0.jar (com.android.tools.build:gradle:8.3.0).
0
votes
1
answer
75
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
66
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
21
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
90
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
49
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
71
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
51
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
306
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
499
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
127
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 '...