CreateProcess error=206, The filename or extension is too long

前端 未结 3 472
一整个雨季
一整个雨季 2020-12-01 18:37

I\'m trying to call Findbugs via Ant, but receiving this error:

Cannot run program \"C:\\Program Files (x86)\\Java         


        
3条回答
  •  [愿得一人]
    2020-12-01 19:25

    I had the same problem. I used

    
      
    
    

    inside findbugs target and it seems that there is too much .class files to be passed to findbug (?via command line?) because when I used

    
      
    
    

    that had low number of classes, the error was gone.

    So, I solved the problem by making one jar file and feeding it to findbugs target with

    
      ...
      
    
    

提交回复
热议问题