mvn package can not work on win 10 LTSC
已回答
I have local named "common" java souce on my computer . the system is LTSC win 10 . the latest intelliJ . When I package "common" java souce into local package . I click "clean" command , it is fine . and when I click "package" command , the ide seems get into infinit loop . nothing built in the target folder (actually it target is always empty) . sometimes it hints that the target folder can not be found or invail . I don't know how to fixed the problem . (by the way , it work fine on win 7 system)
请先登录再写评论。
Please share the exact error received ( target folder can not be found). The whole idea.log after reproducing the issue would be also useful.
where to upload the idea.log ?
https://uploads.jetbrains.com
I check it , there is nothing output for the log when I click the package button , also there is nothing in the target package folder for a very very long time .
Does it work if you execute that command in the command line? Without IDE
not work , the same result .
sometimes it jump out that hint dialogue . it means the location is unvailable
That means IDE is hardly related to the issue. Need to examine the project and Maven's configuration itself.
actually it is here , and the configuration is default . and the most import things are they work on win 7
here comes the feedback: when I click the clean button . it clear the "target " folder . then I click package button . it build folder "target" folder and its sub folder , now , Not any files are created on win 10 , but on win 7 , everything goes well . the related files are created .the log message stop on " compiling 240 sources to target/folder"
Can't recreate this behavior locally. Please share a sample project to reproduce that.