com.liferay.portal.kernel.xml.DocumentException: Error on line 41 of document file:///D:/liferay-plugins-sdk-6.0.6-20110225/portlets/service-builder-import-portlet/docroot/WEB-INF/service.xml : Element type "service-builder-import" must be declared. Nested exception: Element type "service-builder-import" must be declared.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via liferay.com by Unknown author, 1 year ago
Error on line 41 of document file:///D:/liferay-plugins-sdk-6.0.6-20110225/portlets/service-builder-import-portlet/docroot/WEB-INF/service.xml : Element type "service-builder-import" must be declared. Nested exception: Element type "service-builder-import" must be declared.
via manning.com by Unknown author, 2 years ago
Error on line 25 of document : The content of element type "entity" must match "(column*,order?,finder*,refer ence*,tx-required*)". Nested exception: The content of element type "entity" mus t match "(column*,order?,finder*,reference*,tx-required*)".
via liferay.com by Unknown author, 1 year ago
Error on line -1 of document  : Premature end of file. Nested exception: Premature end of file.
via liferay.com by Unknown author, 1 year ago
Error on line -1 of document  : Premature end of file. Nested exception: Premature end of file.
via Coderanch by Florian Huber, 11 months ago
Error on line 4 of document http://www.oracle.com/splash/www/index.html : s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'var _U = "undefined";'. Nested exception
via liferay.com by Unknown author, 2 years ago
Error on line 14 of document : Attribute "mapping-key" must be declared for element type "column". Nested exception: Attribute "mapping-key" must be declared for element type "column".
com.liferay.portal.kernel.xml.DocumentException: Error on line 41 of document file:///D:/liferay-plugins-sdk-6.0.6-20110225/portlets/service-builder-import-portlet/docroot/WEB-INF/service.xml : Element type "service-builder-import" must be declared. Nested exception: Element type "service-builder-import" must be declared.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:335)
at com.liferay.portal.tools.servicebuilder.ServiceBuilder.(ServiceBuilder.java:519)
at com.liferay.portal.tools.servicebuilder.ServiceBuilder.(ServiceBuilder.java:404)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
39 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.