Skip to main content

All Questions

Tagged with
-1 votes
1 answer
64 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) ...
user avatar
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 ├── ...
samarth sangam's user avatar
1 vote
1 answer
87 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 ...
vratojr's user avatar
  • 818
0 votes
0 answers
94 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 ...
Loren's user avatar
  • 340
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 ...
Loren's user avatar
  • 340
0 votes
0 answers
43 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....
Loren's user avatar
  • 340
0 votes
0 answers
122 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 ...
user23442747's user avatar
0 votes
1 answer
66 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 [...
Alexandru Gheorghe's user avatar
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 ...
Nir's user avatar
  • 61
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 ...
KurtJ's user avatar
  • 33
0 votes
1 answer
183 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: ...
rineez's user avatar
  • 752
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: ...
Unknown6147's user avatar
0 votes
0 answers
279 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 ...
JustDreaming's user avatar
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\...
swaeetpotato's user avatar
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\...
swaeetpotato's user avatar

15 30 50 per page
1
2 3 4 5
98