Skip to main content

All Questions

Tagged with
-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).
omid 's user avatar
  • 144
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 ...
Aman Munnolli's user avatar
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....
Cristi's user avatar
  • 712
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 ...
Ethonodon's user avatar
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 ...
Simon's user avatar
  • 1
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 ...
Max Pershin's user avatar
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 ...
Patrick Visi's user avatar
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....
Amit Kumar's user avatar
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 ...
Drained's user avatar
  • 111
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 ...
mc00x1's user avatar
  • 25
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....
Alerto's user avatar
  • 31
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-...
JustMe's user avatar
  • 1
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....
vinter's user avatar
  • 528
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 "...
Patrik Csikós's user avatar
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 '...
MohammadReza Safari's user avatar

15 30 50 per page
1
2 3 4 5
56