I have a working maven project on eclipse which I made using the archetype for Jakarta EE with an ear packaging using windfly 21. (org.windfly.archetype – wildfly-jakartaee-ear-archetype). After i got a working webpage, i decided to share it on git, using the eclipse GUI. (Right click on project -> Team -> Share). This moves the project onto another folder, as
Tag: eclipse
Executable JAR execution different from eclipse execution
I have created an App using Java which treats excel files using Apache POI. The problem is that when I run the code from eclipse, it works fine, but when I made an executable jar for the app (Using eclipse export executable jar option), the jar is working fine but the results are different, even the size of the produced
Using Apache POI from Eclipse Orbit in Eclipse bundle
I am trying to use Apache POI 4.1 from Eclipse Orbit Drop R20200831200620. This is what the relevant piece of MANIFEST.MF looks like: All required bundles are part of the target platform and I can see them in the plugin list in the runtime Eclipse. However, when trying to load an Excel file at runtime I get the following stacktrace:
SLF4J: Class path contains multiple SLF4J bindings warning
I’ve seen in other questions that usually the solution to this warning is to exclude slf4j from the dependency that causes this conflict, but I can’t spot the problem in my project. I run mvn dependency:tree command and this is the output: Answer You can solve the issue by adding the following exclusion in the dependencies (of pom.xml) that caused
Is there a way to make the java eclipse formatter not align the @param descriptions?
I am trying to change the settings of the Eclipse formatter so that it doesn’t align the indentation of the param tag descriptions. This is what I am aiming for: And this is what the formatter is currently doing: I have tried changing a couple of setting with no luck. In the Eclipse formatter editor I disabled the “Indent description
MessageDigest NoSuchAlgorithmException in Java
So, I’ve cruised through several Stackoverflow threads and other websites as well whilst trying to find a solution to this. I am working on a school assignment that requires the use of an instance of …
RowSelection in NatTable with column group header
I created an Eclipse application where I implemented the row selection for the NatTable with a single column header. The row selection works correctly. Later I added a NatTable with a column group header to the application. Here comes problem, after clicking on cell the row selection doesn’t work. Only clicked cell is selected. I define the row selection in
Generate a random according to criteria [closed]
I have a JSON File (ArrayList) with some Restaurants and km(miles) from my Workplace to the Restaurant. The User can choose how far away the Restaurant should be (5km, 10km..) after that should the …
How do I make use of a third-party java library github project?
When there’s no obvious compiled jars provided on a github project page, I’ve been downloading the clear code and kludging them into subdirectories in my codebase to make use of third party code (or, most of the time, just not using the code at all). I know that’s not the right way to go about this; what is? There’s a
.exe file only runs using Java Dev Kit, instead of Java Runtime Environment
So I’ve recently made a small app for a high school class, and I want it to be able to run on any Windows computer with JRE installed and updated. I’ve made the app in Eclipse, exported it as a runnable JAR file (making sure to have “Package required libraries into generated JAR” selected under Library handling), and then converted