Questions tagged [fatjar]
134 questions
0
votes
1 answer
Java fatJar with resources and dependencies for testNG
I'm trying to build a testng fatjar but looks like this configuration is not adding the resources from java main and tests
maven-assembly-plugin
2.3
…

nonyck
- 69
- 1
- 13
0
votes
1 answer
Gradle shadowJar deletes required SQL driver
I'm using the shadowJar Gradle target provided by the com.github.johnrengelman.shadow Gradle plugin to build up an application, which requires an org.apache.hive.jdbc.HiveDriver to connect to Kudu using Impala.
The problem is that when I use…

jirislav
- 340
- 6
- 16
0
votes
1 answer
Is it possible to make one fat jar with two spring boot app inside each with @SpringBootApplication main
I'm totally new to spring boot/gradle, so if i say something wrong, please feel free to correct me.
I have two spring boot projects and i'm using Spring Boot Gradle Plugin to run one by one in different ports and to also generate the respective…

DoG
- 1
0
votes
1 answer
How to create fat jar with tests sources and all dependencies on spring-boot application with TestNG and run tests?
How to create fat jar with tests sources and all dependencies on spring-boot application with TestNG and run tests ?

andrii_kramarenko
- 1
- 1
- 1
0
votes
1 answer
Fat/Uber JARs and upgrading cloudera 5.16.x to cloudera 6.x/7.x
we are currently on cloudera 5.16.x and would be upgrading to cloudera 6.x/7.x. In the current environment we have a few spark applications which are Fat/Uber jars.
Will they be able to work once we upgrade to cloudera 6.x/7.x as i have heard the…

Kok-Lim Wong
- 103
- 1
- 10
0
votes
1 answer
how to deploy spring boot app with external jar and jar packaging
My application is running on localhost successfully ,but When I deploy my application on AWS server ,it is unable to run online. I have an external JAR of paytm-checksum-2.0 . What should I do for deployment of my Spring Boot application with…

Ananya. Mashi
- 13
- 4
0
votes
1 answer
"Cannot find or load main class net.epsilon.app.Main" Java [Gradle]
when I launch my .jar with this command "java -jar epsilon-1.0.jar"
He says "Cannot find or load main class net.epsilon.app.Main"
plugins {
id 'java'
}
group 'net.epsilon'
version '1.0'
sourceCompatibility = 1.8
repositories {
…

EliXorZz
- 1
0
votes
1 answer
Need to understand some `ant fat/shaded` jar concepts
I'm trying to create a jar which will contain the other runtime dependencies jars.
I used following script

Swapnil Kotwal
- 5,418
- 6
- 48
- 92
0
votes
0 answers
sbt assembly issue java.lang.ArrayIndexOutOfBoundsException: 65536
I am using sbt-assembly to package Scala software in a fat JAR. The software references a lot of libraries. When I run sbt assembly in the Windows command prompt, I meet the issue below. Anyone met this before?
sbt version: 1.2.8
sbt assembly…

Ken Zhu
- 41
- 1
0
votes
0 answers
Create a Fat jar to package multiple jars
I am using Databricks cluster to execute spark application..
My application having some dependency on few libraries but now these libraries are not available via the Databricks install new library option.
I came to know the through the Fat jar or…

BlueStar
- 57
- 8
0
votes
1 answer
Include entire JDK8 in a OSGI bundle and deploy on OSGI running on JDK 9 (or higher) environment
I've worked some as an AEM developer which is based on OSGI, and this is where my rudimentary (and a bit outdated) idea stems from. On a new job and completely non-AEM related project, here is what I need to do.
Build a service library based on a…

apil.tamang
- 2,545
- 7
- 29
- 40
0
votes
1 answer
How can I get the HOCON configuration file format to work in Vert.x deployed as fat jar?
I want to use the HOCON format for configuration in a Vert.x application deployed as a fat jar. I'm facing the same issue as described in this similar question.
However I applied the gradle Plugin "io.vertx.vertx-plugin" (v1.0.1) and succeeded in…

A. Gldmn
- 11
- 2
0
votes
1 answer
Maven - Load resources from JAR file?
I have a feeling I'm missing something critical when it comes to bundling resources in JAR files using Maven. My directory structure is the standard Maven one.
When using the IDE I reference the resource files as \main\resources\public\images\path …

Trafalgar Law
- 5
- 4
0
votes
1 answer
Dropwizard, testing a fat jar
Hey I am really desperate. I want to build a fat jar with Dropwizard (and Maven) but I realize the shade plugin won't include test classes so no tests are running.
Is there an easy way to run those tests with a "clean install" goal. I can't believe…

Marcos
- 103
- 7
0
votes
1 answer
Intellij + lombok + fat jar => Lombok installer
I have a spring boot 2 project, using Lombok (1.18.6) under Intellij IDEA Ultimate 2018.3.
Everything works fine within IntelliJ running as an application.
But when I try to build a fat jar as an artifact and launch it in the terminal (OSX) with…

Christophe Arnal
- 13
- 2