Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundException when file path include Unicode chars #88

Open
chunlinyao opened this issue Mar 16, 2022 · 0 comments
Open

FileNotFoundException when file path include Unicode chars #88

chunlinyao opened this issue Mar 16, 2022 · 0 comments

Comments

@chunlinyao
Copy link

My groovy script stored in a folder with CJK charactor.
When I use groovyserv to run the script. I got FileNotFoundException, the file wax exactly in that folder.

Starting server.....................
Server is successfully started up on 1961 port
Caught: java.io.FileNotFoundException: D:\projects\納品物\test.groovy (D:\projects\納品物\test.groovy)
java.io.FileNotFoundException: D:\projects\納品物\test.groovy (D:\projects\納品物\test.groovy)
        at groovyx.groovyserv.GroovyMain2.processOnce(GroovyMain2.java:609)
        at groovyx.groovyserv.GroovyMain2.run(GroovyMain2.java:391)
        at groovyx.groovyserv.GroovyMain2.process(GroovyMain2.java:377)
        at groovyx.groovyserv.GroovyMain2.processArgs(GroovyMain2.java:130)
        at groovyx.groovyserv.GroovyInvokeHandler.invokeGroovy(GroovyInvokeHandler.groovy:134)
        at groovyx.groovyserv.GroovyInvokeHandler.run(GroovyInvokeHandler.groovy:64)

groovy can run this file.

VERSIONS:
Groovy Version: 4.0.1 JVM: 1.8.0_301 Vendor: Oracle Corporation OS: Windows 10
GroovyServ Version: Server: 1.2.0
GroovyServ Version: Client: 1.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant