jetty compile

lifecycle cant been covered,

需要m2e-extra,在elcipse marcketplace找,不是叫做这个名。

<parent>上有lifecycle问题,点数次逐一去除;点那个项目绑定的选项好容易得多,否则它只是修改当前pom,把不支持的goal放到了一个plugin的filter里。

ok,mvn test

有一个地方抛出的异常和代码里不一样导致test failed,修改为真实抛出的类名;idontexist竟然能resolved,导致test failed.修改resolve.conf为8。8。8。8,ok。(后来发现只要是1个或者2个字母的域名,就不会resolved,不用设置8。8。8。8)

Some nameservers deliberately return IPs for nonexistent domains. ISPs are notorious for doing this - they can actually monetize on advertising given on landing pages for nonexistent domains.

You could always change your resolv.conf file to use public DNS servers that are known for sure not to exhibit this behavior. Google's DNS (8.8.8.8 and 8.8.4.4) and Level3's DNS (4.2.2.1 through 4.2.2.6) both provide public DNS access and do not redirect unknown domains. (Source: https://www.grc.com/dns/alternatives.htm)

原文地址:https://www.cnblogs.com/jvava/p/3911926.html