RE: Problem when import my custom porlet

Eugenio Bravo, modified 8 Years ago. New Member Posts: 2 Join Date: 5/5/17 Recent Posts
I have a problem when i try import my porlet

19:37:52,967 WARN [liferay/background_task-1][PortletImportBackgroundTaskExecutor:94] Unable to import portlet: com.thoughtworks.xstream.mapper.CannotResolveClassException: testservice.model.impl.MemoImpl
19:37:53,110 ERROR [liferay/background_task-1][BackgroundTaskMessageListener:164] Unable to execute background task
com.liferay.exportimport.kernel.lar.PortletDataException: com.thoughtworks.xstream.mapper.CannotResolveClassException: testservice.model.impl.MemoImpl

That it's my XML

<testservice.model.impl.MemoImpl>
<__cachedModel>false</__cachedModel>
<__new>false</__new>
<__uuid>055fc10a-def3-d1a4-263f-9608929294e7</__uuid>
<__originalUuid>055fc10a-def3-d1a4-263f-9608929294e7</__originalUuid>
<__memoriaId>186659</__memoriaId>
<__groupId>142773</__groupId>
<__originalGroupId>142773</__originalGroupId>
<__setOriginalGroupId>false</__setOriginalGroupId>
<__companyId>20116</__companyId>
<__originalCompanyId>20116</__originalCompanyId>
<__setOriginalCompanyId>false</__setOriginalCompanyId>
<__userId>20164</__userId>
<__userName>Test Test</__userName>
<__createDate class="sql-timestamp">2017-04-25 00:00:00.0</__createDate>
<__modifiedDate class="sql-timestamp">2017-04-25 00:00:00.0</__modifiedDate>
<__setModifiedDate>false</__setModifiedDate>
<__title>Ejemplo2</__title>
<__memoriaYear>2011</__memoriaYear>
<__image>/o/igemar-theme/src/favicon.png</__image>
<__url>http://www.google.com</__url>
<__columnBitmask>0</__columnBitmask>
thumbnail
David H Nebinger, modified 8 Years ago. Liferay Legend Posts: 14933 Join Date: 9/2/06 Recent Posts
Indicates the service bundle providing the Memo service, your testservice module, has not been deployed/started.






Come meet me at the 2017 LSNA!
Eugenio Bravo, modified 8 Years ago. New Member Posts: 2 Join Date: 5/5/17 Recent Posts
The service is deploy and started, the export service works fine, but the import returns that message
"The portlet can not be imported: com.thoughtworks.xstream.mapper.CannotResolveClassException: testservice.model.impl.MemoImpl"
thumbnail
Anderson Perrelli, modified 7 Years ago. Junior Member Posts: 81 Join Date: 6/12/13 Recent Posts

I have the same issue, did you manage to solve this?

 

 

thumbnail
Joaquin Cabal, modified 5 Years ago. Regular Member Posts: 106 Join Date: 9/7/09 Recent Posts
Has anybody could solve this problem. I have the same issue with Liferay 7.0 DXP. Thanks!
thumbnail
Olaf Kock, modified 5 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts
Joaquin Cabal:

Has anybody could solve this problem. I have the same issue with Liferay 7.0 DXP. Thanks!

Still on the latest fixpack? (which one are you running?) Have you opened a ticket with support to discuss this?
If you want to discuss this in public, on volunteer's support: Please give steps to reproduce. As it is described above, it'll take a lot of efforts, guesses and assumptions to reproduce.
thumbnail
Joaquin Cabal, modified 5 Years ago. Regular Member Posts: 106 Join Date: 9/7/09 Recent Posts
Thanks Olaf I could fix the issue with this post:  https://liferay.dev/forums/-/message_boards/message/114203877