java.lang.AssertionError: Imported projects have errors /test-dynamic-web-project/war/WEB-INF/web.xml:1: Referenced file contains errors (http://java.sun.com/xml/ns/javaee/javaee_5.xsd). For more information, right click on the message in the Problems View and select "Show Details..."


Samebug tips1

Check your pattern declaration or check your assert declaration.


7 months ago
Expert tip

Solutions on the web1344

Solution icon of github
Imported projects have errors /test-dynamic-web-project/war/WEB-INF/web.xml:1: Referenced file contains errors (http://java.sun.com/xml/ns/javaee/javaee_5.xsd). For more information, right click on the message in the Problems View and select "Show Details..."

Solution icon of github
Imported projects have errors /test-dynamic-web-project/war/WEB-INF/web.xml:1: Referenced file contains errors (http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd). For more information, right click on the message in the Problems View and select "Show Details..."

Solution icon of github
Imported projects have errors /sox-server/WebContent/WEB-INF/web.xml:4: cvc-elt.1: Cannot find the declaration of element 'web-app'.

Solution icon of github
via GitHub by mariuszs
, 7 months ago
Maven from the correct directory. -> [Help 1], [ERROR] , [ERROR] , [ERROR] For more information about the errors and possible solutions, please read the following articles:, [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException]

Solution icon of web
Maven with the -e switch., [ERROR] Re-run Maven using the -X switch to enable full debug logging., [ERROR] , [ERROR] For more information about the errors and possible solutions, please read the following articles:, [ERROR] [Help 1] , [ERROR] , [ERROR] After correcting the problems, you can resume the build with the command, [ERROR] mvn -rf :tictactoe-app]

Solution icon of github
via GitHub by cvgaviao
, 1 year ago
] , [ERROR] For more information about the errors and possible solutions, please read the following articles:, [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException]

Solution icon of web
via spring.io by Unknown author, 1 year ago
Expected 27 but found 26: [WEB-INF/lib-provided/jetty-security-9.2.14.v20151106.jar, WEB-INF/lib-provided/jetty-xml-9.2.14.v20151106.jar, WEB-INF/lib-provided/websocket-api-9.2.14.v20151106.jar, WEB-INF/lib-provided/javax-websocket-client-impl

Solution icon of couchbase
via Couchbase JIRA by Andrei Baranouski, 2 months ago
{resultCount=0, errorCount=1, warningCount=0, mutationCount=0, sortCount=0, resultSize=0, elapsedTime='6.032726ms', executionTime='5.978825ms'}, profileInfo={}, errors=[{"msg":"User does not have credentials to access privilege cluster.bucket[gamesim

Solution icon of web
Expected no errors, but got : ERROR (org.eclipse.xtext.diagnostics.Diagnostic.Linking) 'The method or field AND is undefined' on XFeatureCall, offset 119, length 3 ERROR (org.eclipse.xtext.xbase.validation.IssueCodes.unreachable_code) 'Unreachable expression.' on XFeatureCall, offset 119, length 3

Solution icon of web
via wordpress.com by Unknown author, 1 year ago
Expected no errors, but got : ERROR (org.eclipse.xtext.diagnostics.Diagnostic.Linking) 'The method or field AND is undefined' on XFeatureCall, offset 119, length 3 ERROR (org.eclipse.xtext.xbase.validation.IssueCodes.unreachable_code) 'Unreachable expression.' on XFeatureCall, offset 119, length 3

Stack trace

java.lang.AssertionError: Imported projects have errors
/test-dynamic-web-project/war/WEB-INF/web.xml:1: Referenced file contains errors (http://java.sun.com/xmls/javaee/javaee_5.xsd).  For more information, right click on the message in the Problems View and select "Show Details..."
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at com.google.cloud.tools.eclipse.test.util.project.ProjectUtils.failIfBuildErrors(ProjectUtils.java:131)
	at com.google.cloud.tools.eclipse.test.util.project.ProjectUtils.failIfBuildErrors(ProjectUtils.java:125)
	at com.google.cloud.tools.eclipse.test.util.project.ProjectUtils.importProjects(ProjectUtils.java:112)
	at com.google.cloud.tools.eclipse.appengine.facets.StandardFacetInstallationTest.testStandardFacetInstallation(StandardFacetInstallationTest.java:54)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

5 times, 5 days ago
2 times, 1 month ago
2 times, 3 months ago
13 times, 3 months ago
2 times, 5 months ago
105 more bugmates