Forums

Home » Liferay IDE » English

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Flash 05
The portlet class com.liferayinaction.portlet.HelloYouPortlet was not found
August 4, 2012 6:25 PM
Answer

Flash 05

Rank: Junior Member

Posts: 36

Join Date: August 3, 2012

Recent Posts

Hello,

I have a little problem with the java build path. I hope someone can help.

"The portlet class com.liferayinaction.portlet.HelloYouPortlet was not found on the Java Build Path"
Attachment

Attachments: liferay_in_action_build_path.png (67.9k)
Hitoshi Ozawa
RE: The portlet class com.liferayinaction.portlet.HelloYouPortlet was not f
August 5, 2012 4:41 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

So what's the package of your HelloYouPortlet? Copy the first several rows on your HelloYouPortlet here.
Flash 05
RE: The portlet class com.liferayinaction.portlet.HelloYouPortlet was not f
August 5, 2012 5:41 AM
Answer

Flash 05

Rank: Junior Member

Posts: 36

Join Date: August 3, 2012

Recent Posts

First rows of the HelloYouPortlet.

package com.liferayinaction.portlet;
import javax.portlet.GenericPortlet;


A Server restart solved the problem. No error message. ???

Thx
Hitoshi Ozawa
RE: The portlet class com.liferayinaction.portlet.HelloYouPortlet was not f
August 5, 2012 10:00 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Right click on your project -> Build Path -> Configure Build Path.

Check if your portlet is included in the "Order and Export" listing.
Gregory Amerson
RE: The portlet class com.liferayinaction.portlet.HelloYouPortlet was not f
August 6, 2012 7:57 AM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Master

Posts: 913

Join Date: February 16, 2010

Recent Posts

Can you attach your project source as a zip file? Perhaps it is a .classpath setting that is incorrect.
Flash 05
RE: The portlet class com.liferayinaction.portlet.HelloYouPortlet was not f
August 6, 2012 3:05 PM
Answer

Flash 05

Rank: Junior Member

Posts: 36

Join Date: August 3, 2012

Recent Posts

@Hitoshi Ozawa: Yes it is.
@Gregory Amerson: Source attached.

Thanks for your help. After a eclipse and server restart everything was ok.
Attachment

Attachments: hello-world-portlet.zip (26.5k), java_build_path.png (51.5k)
Gregory Amerson
RE: The portlet class com.liferayinaction.portlet.HelloYouPortlet was not f
August 7, 2012 8:18 AM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Master

Posts: 913

Join Date: February 16, 2010

Recent Posts

Glad things are working now.