JavaFX in Eclipse Helios: IllegalArgumentException (Css2Bin.java:44)

前端 未结 8 2140
闹比i
闹比i 2020-12-21 23:34

I got this error while trying to start and make javafx 2.0 in eclipse helios

Exception in thread "main" java.lang.IllegalArgumentException: expected         


        
相关标签:
8条回答
  • 2020-12-22 00:36

    This problem comes from Css2Bin being set as the application to run. This means that eclipse tries to run Css2Bin as your main application and Css2Bin crashes when it doesn't receive any command line arguments.

    Easiest way to solve this is to remove Css2Bin from you run/debug settings (project settings) and add one where you select your own application in the menus.

    0 讨论(0)
  • 2020-12-22 00:36

    we can run as the Appllcation to solve the problem

    0 讨论(0)
提交回复
热议问题