Forums

Home » Liferay Portal » Español » 3. Desarrollo

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Jose Angel Piñero
build-service-portlet-calendar
November 3, 2008 7:41 AM
Answer

Jose Angel Piñero

Rank: New Member

Posts: 4

Join Date: November 3, 2008

Recent Posts

Hola a todos, estoy haciendo unas modificaciones sobre el portlet calendar al que he añadido una serie de campos. Al rehacer los servicios todo va bien la primera vez. El problema es si intento hacerlo nuevamente es decir, si posteriormente intento hacer nuevos cambios en la clase CalEventLocalServiceImpl.java y vuelvo a hacer un build-service-portlet-calendar aparecen los siguientes errores.


build-service-portlet-calendar:
build-service:
org.dom4j.DocumentException: null Nested exception: null
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at com.liferay.portal.tools.ServiceBuilder.<init>(ServiceBuilder.java:354)
at com.liferay.portal.tools.ServiceBuilder.<init>(ServiceBuilder.java:330)
at com.liferay.portal.tools.ServiceBuilder.main(ServiceBuilder.java:86)
Nested exception:
java.net.MalformedURLException
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at com.liferay.portal.tools.ServiceBuilder.<init>(ServiceBuilder.java:354)
at com.liferay.portal.tools.ServiceBuilder.<init>(ServiceBuilder.java:330)
at com.liferay.portal.tools.ServiceBuilder.main(ServiceBuilder.java:86)
Nested exception: java.net.MalformedURLException
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at com.liferay.portal.tools.ServiceBuilder.<init>(ServiceBuilder.java:354)
at com.liferay.portal.tools.ServiceBuilder.<init>(ServiceBuilder.java:330)
at com.liferay.portal.tools.ServiceBuilder.main(ServiceBuilder.java:86)
build-ejbxml:
org.dom4j.DocumentException: null Nested exception: null
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at com.liferay.portal.tools.EJBXMLBuilder._buildBorlandXML(EJBXMLBuilder.java:87)
at com.liferay.portal.tools.EJBXMLBuilder.<init>(EJBXMLBuilder.java:58)
at com.liferay.portal.tools.EJBXMLBuilder.main(EJBXMLBuilder.java:47)
Nested exception:
java.net.MalformedURLException
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at com.liferay.portal.tools.EJBXMLBuilder._buildBorlandXML(EJBXMLBuilder.java:87)
at com.liferay.portal.tools.EJBXMLBuilder.<init>(EJBXMLBuilder.java:58)
at com.liferay.portal.tools.EJBXMLBuilder.main(EJBXMLBuilder.java:47)
Nested exception: java.net.MalformedURLException
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at com.liferay.portal.tools.EJBXMLBuilder._buildBorlandXML(EJBXMLBuilder.java:87)
at com.liferay.portal.tools.EJBXMLBuilder.<init>(EJBXMLBuilder.java:58)
at com.liferay.portal.tools.EJBXMLBuilder.main(EJBXMLBuilder.java:47)

Alguien me podria ayudar a arreglarlo o al menos saber que hago mal para que solo pueda hacer una sola vez el build-service-portlet-calendar. Gracias.
Julio Camarero
RE: build-service-portlet-calendar
November 12, 2008 1:54 AM
Answer

Julio Camarero

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1641

Join Date: July 15, 2008

Recent Posts

Hola Jose Angel,

solo se me ocurre que ese error pueda estar producido por tus cambios.

Podrías hacer una prueba? empieza de nuevo, cambia los campos, haz el build-service y sin cambiar nada vuelve a hacerlo.
¿así ya te da el problema?

Un saludo!

Julio Camarero
Liferay España
Jose Angel Piñero
efeRE: build-service-portlet-calendar
November 13, 2008 4:34 AM
Answer

Jose Angel Piñero

Rank: New Member

Posts: 4

Join Date: November 3, 2008

Recent Posts

Primero gracias por tu respuesta, efectivamente algo hice mal. Volví a hacer todo el proceso y fue correctamente asi que todo fue un despiste mio.
Saludos Julio.