I am using jdk v.1.8, grails v.3.3.10. I am trying to implement some of the endpoints of my app as rest and remaining as normal web pages url. So to achieve this added below lines in build.gradle file
`compile 'org.grails.plugins:spring-security-rest:2.0.0.M2'`
`compile 'org.grails.plugins:spring-security-core:3.2.0'`
After doing when I was trying to run the grails app I was getting below exception
Caused by: java.io.IOException: Cannot run program "C:\Program Files\Java\jdk1.8.0_111\bin\java.exe" (in directory "D:\myprojectfolder"): CreateProcess error=206, The filename or extension is too long at.net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:25)
Can anyone help me on this please?
So to resolve above I used below line in build.gradle file
***plugins {
id "com.virgo47.ClasspathJar" version "1.0.0"
}***
and it has solved my issue thanks
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.