我在学《Globus Toolkit 4:Java网格服务编程》(一本和The Globus Toolkit 4 Programmer's Tutorial几乎一样的书),但用的globus版本是GT4.2.1。运行./globus-build-service.sh factory编译factory方法生成GAR文件时出现下面的错误:
WSDLUptodate:
flatten:
[echo] Processing WSDL in Factory.wsdl
[java] Error processing WSDL: Could not read WSDL input file: /home/globus/Documents/gt4book-examples/build/schema/examples/FactoryService/Factory.wsdl
BUILD FAILED
/home/globus/Documents/gt4book-examples/build.xml:228: The following error occurred while executing this line:
/usr/local/globus-4.2.1.1/share/globus_wsrf_tools/build-stubs.xml:166: Java returned: 2
问题应该出在globus版本的兼容性问题,也就是WSDL的一些变化,但不知道该怎么修改,望高手帮忙!
--
FROM 58.206.235.*