当前位置:   article > 正文

cvc-complex-type.2.4.a: Invalid content was found starting with element 'executable'._cvc-complex-ype.2.4.d: nvalid content was found st

cvc-complex-ype.2.4.d: nvalid content was found starting with element 代理师

maven工程中的pom.xml报错:

cvc-complex-type.2.4.a: Invalid content was found starting with element 'executable'. One of '{"http://maven.apache.org/POM/4.0.0":version, "http://

 maven.apache.org/POM/4.0.0":extensions, "http://maven.apache.org/POM/4.0.0":executions, "http://maven.apache.org/POM/4.0.0":dependencies, "http://

 maven.apache.org/POM/4.0.0":goals, "http://maven.apache.org/POM/4.0.0":inherited, "http://maven.apache.org/POM/4.0.0":configuration}' is expected.


解决方法:修改pom.xml如下:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance http://www.springmodules.org/schema/cache/springmodules-cache.xsd http://www.springmodules.org/schema/cache/springmodules-ehcache.xsd" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">


声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/2023面试高手/article/detail/265428
推荐阅读
相关标签
  

闽ICP备14008679号