cannot build JavaFX 2.1.0 sample application - DataApp - failed to create task or type javafx:com.sun.javafx.tools.ant:application

前端 未结 2 1615
無奈伤痛
無奈伤痛 2021-01-14 02:23

I am trying to build the DataApp sample application from the JavaFX 2.1.0 sample application pack downloadable from the official JafaFX downloads page:
http://www.oracle

2条回答
  •  终归单人心
    2021-01-14 03:18

    Aparently the problem is solved by manually modifying the Ant build.xml file located in the DataAppClient project root.
    I added a taskdef tag at the beginning of the -post-jar target definition and the error was gone:

    ...
    
    
    
        
    
        
        
    
    ...
    

提交回复
热议问题