简体   繁体   English

html5检查器编译

[英]html5 checker compilation

I would like to use html5 validator from LiipFunctionalTestBundle in my Symfony2 project. 我想在我的Symfony2项目中使用来自LiipFunctionalTestBundle html5验证器。 So, I followed instructions on bundle's github page, but I got this error during python build: 所以,我按照bundle的github页面上的说明,但是我在python构建期间遇到了这个错误:

IOError: [Errno 2] No such file or directory: './syntax/relaxng/datatype/java/dist/html5-datatypes.jar' IOError:[Errno 2]没有这样的文件或目录:'./syntax/relaxng/datatype/java/dist/html5-datatypes.jar'

indeed, there is a "dist" folder under that path, but it's empty (no files inside). 实际上,该路径下有一个“dist”文件夹,但它是空的(里面没有文件)。 I also tried to download file from daisy-pipeline, but it's deleted after running python build again 我也尝试从daisy-pipeline下载文件,但是在再次运行python build之后它被删除了

I'm using Java 1.7.0_04 on Ubuntu x64 我在Ubuntu x64上使用Java 1.7.0_04

As noted above: 如上所述:

You need to install JDK, not only JRE. 您需要安装JDK,而不仅仅是JRE。 That is because you need java compiler. 那是因为你需要java编译器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM