フォーラム

ホーム » Liferay Portal » English » 3. Development

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
Gnaniyar Zubair
Struts Portlet in Liferay 6.0.5
2010/09/04 22:44
答え

Gnaniyar Zubair

ランク: Liferay Master

投稿: 603

参加年月日: 2007/12/19

最近の投稿

Hi all,

I have created Plugin Struts portlet using "Liferay's Struts Bridge" ( extending StrutsPortlet) in liferay-6.0.5. I have followed the steps as "sample-struts-liferay-portlet" in liferay svn.

But I am getting error on console: "java.lang.NoClassDefFoundError: com/liferay/portlet/StrutsPortlet". Even I copied "portal-impl.jar" file globally into "tomcat/lib/ext", But i am getting parse url error and some other errors.

Moreover, I have checked-in the "sample-struts-liferay-portlet" from liferay SVN , It is also throwing the same error

(Note: But struts portlet using "Apache Struts Bridge with Liferay." is working fine.)

It would be great if liferay team shed some light on this to resolve this liferay struts portlet issue as many developers are facing this same issue. .


- Gnaniyar Zubair
Manish Kumar Gupta
RE: Struts Portlet in Liferay 6.0.5
2010/09/04 23:06
答え

Manish Kumar Gupta

LIFERAY STAFF

ランク: Liferay Master

投稿: 535

参加年月日: 2008/05/15

最近の投稿

what container/application server are you using?
Gnaniyar Zubair
RE: Struts Portlet in Liferay 6.0.5
2010/09/04 23:55
答え

Gnaniyar Zubair

ランク: Liferay Master

投稿: 603

参加年月日: 2007/12/19

最近の投稿

thanks for your immediate reply Manish.

I am using latest tomcat-6.0.26 downloaded from Liferay..
Arun Kumar S
RE: Struts Portlet in Liferay 6.0.5
2010/09/08 5:37
答え

Arun Kumar S

ランク: Regular Member

投稿: 181

参加年月日: 2008/06/23

最近の投稿

Hi Zubair,

Remove the deployXML which is set in the server.xml. It stops reading of the context.xml

HTH.
Arun
Manish Kumar Gupta
RE: Struts Portlet in Liferay 6.0.5
2010/09/13 3:05
答え

Manish Kumar Gupta

LIFERAY STAFF

ランク: Liferay Master

投稿: 535

参加年月日: 2008/05/15

最近の投稿

Hi Arun,

Are you suggesting to remove deployXML="false" attribute from server.xml?

If yes, this will lead to other problem and that's why it has been added explicitly for tomcat version above 6.0.

MAnish.
Arun Kumar S
RE: Struts Portlet in Liferay 6.0.5
2010/09/13 3:34
答え

Arun Kumar S

ランク: Regular Member

投稿: 181

参加年月日: 2008/06/23

最近の投稿

Hi Manish,

deployXML="false" attribute disable parsing the context XML descriptor embedded inside the application/portlet (located at /META-INF/context.xml).

Any how i agree with your point. I don't know other alternative solution to make it work. If you have any other suggestion please let us know.

Thanks,
Arun.
SZ khan
RE: Struts Portlet in Liferay 6.0.5
2010/09/16 2:45
答え

SZ khan

ランク: Regular Member

投稿: 148

参加年月日: 2009/10/31

最近の投稿

is there any other solution for this problem?
stephan t
RE: Struts Portlet in Liferay 6.0.5
2011/05/11 23:58
答え

stephan t

ランク: Junior Member

投稿: 48

参加年月日: 2010/10/19

最近の投稿

to everybody who's reading this thread, maybe my answer on this thread helps: http://www.liferay.com/de/community/forums/-/message_boards/message/8791743

cheers
Stephan