All Questions
1,457
questions
-1
votes
1
answer
66
views
Can a java.net.URI object be used to save a Windows file path?
I tried the following code:
import java.io.*;
import java.net.URI;
import java.net.URISyntaxException;
import java.nio.file.Paths;
public class demo {
public static void main(String[] args) ...
0
votes
0
answers
19
views
How to configure eclipse to identify custom gradle plugins
├── IDE
├── plugins
├── project-1
├── project-2
├── UTILS
├── project-3
├── project-4
├── WEB
├── spring-boot-project => refers the one of the plugin from buildSrc
├── ...
1
vote
1
answer
88
views
Eclipse (2023-12) + Buildship - Incorrect classpath when importing test artifact from project library
Basically I have 2 projects .
Lib2 contains code and test utils. These test utils are classes that should be made available to other projects to instrument their tests.
Lib3 has some code (that's ...
0
votes
0
answers
98
views
Lombok not generating Getters and setters in Gradle Project
I am using lombok + Gradle in my Spring boot application. I have installed Lombok plugin from marketplace and the same version I have mentioned in my build.gradle but still in my model class I am ...
0
votes
0
answers
49
views
Gradle Tasks not loading in eclipse
I am new to Gradle , I have imported one existing Gradle project in Eclipse but I am not getting Gradle Tasks(containing folder Build and others) in eclipse.
I have added jdk path in gradle.properties ...
0
votes
0
answers
45
views
Folder of Build is not coming in Gradle Tasks in Eclipse
I am new to Gradle , I have imported an existing Gradle project but folder of "build" Gradle Project is not coming in Gradle Tasks. I have added jdk path in both my eclipse.ini and gradle....
0
votes
0
answers
125
views
Cannot access script base class 'org.jetbrains.kotlin.core.script.template.ProjectScriptTemplate'
While creating Gradle Project with default code, getting the error "Cannot access script base class 'org.jetbrains.kotlin.core.script.template.ProjectScriptTemplate'. Check your module classpath ...
0
votes
1
answer
70
views
> Could not find method implementation() for arguments [org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0-RC2] on object of type
I'm trying to run the following code in Eclipse IDE (Version: 2023-12 (4.30.0)) on Linux (JDK home: /usr/lib/jvm/java-17-openjdk-amd64) with Kotlin plugins installed (Enhanced Kotlin for Eclipse [...
1
vote
1
answer
100
views
Migrating from Google Cloud Tools in Eclipse, Google App Engine Java Project to Gradle
Google Cloud Tools for Eclipse is going to become obsolete January 30, 2024 due to its lack of support of Java 11+ and Java 8 will become undeployable. Because of that I am trying to convert from my ...
0
votes
1
answer
40
views
Libreoffice classes not available in java code [closed]
1.Added to build.gradle
implementation group: 'org.libreoffice', name: 'libreoffice', version: '7.0.0'
2.'Refresh gradle' project in Eclipse
3.Jar is available local
4.Adding them manually seems to ...
0
votes
1
answer
185
views
Error on initializing Spring boot project with Gradle: java.lang.NoClassDefFoundError: groovy/lang/GroovyObject
Environment:
STS 4.8.1
JDK 17
Gradle 8.5
Windows 10
I am facing following error message when I try to create a Spring Boot project in the Eclipse(+Spring Tools) IDE with Gradle as the build system:
...
0
votes
0
answers
201
views
Minecraft Modding - FileNotFoundException when setting up wokspace
I'm creating a mod for Minecraft 1.7.10 with Eclipse. I am trying to setup the workspace with Windows command prompt but I get this error:
FAILURE: Build failed with an exception.
* What went wrong:
...
0
votes
0
answers
284
views
Could not execute build using connection to Gradle installation 'C:\gradle-6.0.1' Eclipse
I'm trying to create a project in Eclipse using Gradle 6.0.1 installed on my PC, after which this huge crash log immediately appears:
org.gradle.tooling.BuildException: Could not execute build using ...
0
votes
0
answers
39
views
build config error: file does not exist when building a .war file
I'm trying to build a war file for my java project by using gradle task. However,I feep getting this error, but I do have ajc.options in my project, What did I do wrong?
Working Directory: C:\Users\...
0
votes
0
answers
35
views
Task :app:compileJava FAILED: file does not exist
I'm trying to build a war file for my java project by using gradle task. However,I feep getting this error, but I do have ajc.options in my project, What did I do wrong?
Working Directory: C:\Users\...