我想在我的 Symfony2 项目中使用来自 LiipFunctionalTestBundle
的 html5 validator 。
所以,我按照 bundle 的 github 页面上的说明进行操作,但是在 python 构建过程中出现了这个错误:
IOError: [Errno 2] No such file or directory: './syntax/relaxng/datatype/java/dist/html5-datatypes.jar'
的确,在该路径下有一个“dist”文件夹,但它是空的(里面没有文件)。 我也尝试从 daisy-pipeline 下载文件,但在再次运行 python build 后它被删除了
我在 Ubuntu x64 上使用 Java 1.7.0_04
最佳答案
如上所述:
You need to install JDK, not only JRE. That is because you need java compiler.
关于java - html5检查器编译,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11540645/