Closed
Description
- Java Debugger extension version:v0.46.0
NoSuchBeanDefinitionException is raised and the test fails to run.
To work around this, the results of the gradle run are added to classPaths.
Is there a better way to specify classPaths, as the control of classPaths becomes more complicated when we have subprojects.
settings.json:
"java.test.defaultConfig": "custom",
"java.test.config": [
{
"preLaunchTask": "compileJava",
"name": "custom",
"classPaths": [
"${workspaceFolder}/build/classes"
]
}
]
tasks.json:
{
"tasks": [
{
"label": "compileJava",
"type": "shell",
"command": "gradlew compileJava",
"options": {
"cwd": "${workspaceFolder}"
}
}
]
}