java - Unable to deploy WAR file in liferay -


there war file.

i can deploy tomcat7 without errors. when trying deploy liferay bundled tomcat error occures:

11:04:37,739 error [com.liferay.portal.kernel.deploy.auto.autodeployscanner][autodeploydir:210] com.liferay.portal.kernel.deploy.auto.autodeployexception: com.liferay.portal.kernel.xml.docume ntexception: error on line 1 of document  : value following "version" in xml declaration must quoted string. nested exception: value following "version" in xml declaratio n must quoted string. com.liferay.portal.kernel.deploy.auto.autodeployexception: com.liferay.portal.kernel.xml.documentexception: error on line 1 of document  : value following "version" in xml declaration  must quoted string. nested exception: value following "version" in xml declaration must quoted string.         @ com.liferay.portal.tools.deploy.basedeployer.autodeploy(basedeployer.java:201)         @ com.liferay.portal.deploy.auto.portletautodeploylistener.deploy(portletautodeploylistener.java:84)         @ com.liferay.portal.kernel.deploy.auto.autodeploydir.processfile(autodeploydir.java:193)         @ com.liferay.portal.kernel.deploy.auto.autodeploydir.scandirectory(autodeploydir.java:235)         @ com.liferay.portal.kernel.deploy.auto.autodeployscanner.run(autodeployscanner.java:54) caused by: com.liferay.portal.kernel.xml.documentexception: error on line 1 of document  : value following "version" in xml declaration must quoted string. nested exception:  value following "version" in xml declaration must quoted string.         @ com.liferay.portal.xml.saxreaderimpl.read(saxreaderimpl.java:399)         @ com.liferay.portal.xml.saxreaderimpl.read(saxreaderimpl.java:378)         @ com.liferay.portal.xml.saxreaderimpl.read(saxreaderimpl.java:409)         @ com.liferay.portal.kernel.xml.saxreaderutil.read(saxreaderutil.java:155)         @ com.liferay.portal.tools.webxmlbuilder.organizewebxml(webxmlbuilder.java:60)         @ com.liferay.portal.tools.deploy.basedeployer.updatewebxml(basedeployer.java:2078)         @ com.liferay.portal.tools.deploy.basedeployer.deploydirectory(basedeployer.java:576)         @ com.liferay.portal.tools.deploy.basedeployer.deployfile(basedeployer.java:957)         @ com.liferay.portal.tools.deploy.basedeployer.deployfile(basedeployer.java:889)         @ com.liferay.portal.tools.deploy.basedeployer.autodeploy(basedeployer.java:198) 

executing folowing command in unzipped war archive root directory: $ grep version=[^\"] -r gives folowing result:

web-inf/i3-label.properties:file.reversion=version history web-inf/classes/web/zssapp/labels/i3-label.properties:file.reversion=version history web-inf/classes/web/zssapp/labels/i3-label_zh_tw.properties:file.reversion=版本歷史 web-inf/i3-label_zh_tw.properties:file.reversion=版本歷史 web-inf/liferay-plugin-package.properties:module-incremental-version=1 

ideas?

try open xml files used lr deploy process (eg portlet.xml, liferay-portlet.xml, etc...) , verify first row. should have error (quotes, doble-quotes, attributes or else...).

try compare new lr project (or example in lr svn repository).


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -