cancel
Showing results for 
Search instead for 
Did you mean: 

how add a java class in a project web dynpro development component?

Former Member
0 Kudos

hi all

how add a java class in a project web dynpro development component?

that each time I add a new package with the class and do a rebuild gives me an error

How can I do?

thanks!

Accepted Solutions (1)

Accepted Solutions (1)

p_2_5_6_9_6_0
Active Participant
0 Kudos

Hi,

Since you are adding a Java Class switch to the Project Explorer View. Then go to the "src" folder. How to identify if we have selected the correct folder for our own Java Classes is we check if the "src" folder has the "components", "mimes" and "packages" folders as well.

Inside the packages folder you will find the entire jeirarchy of folders that form your project.

Right clikc on the "src" folder and then goto "New" and "Other", in the selection - select Class.

Create the class in its own package (preferable) rather than the WDJ packages.

Then on Rebuild - the file will not disappear.

p256960.

Answers (2)

Answers (2)

Former Member
0 Kudos

class is deleted when I reload+rebuild the project

Former Member
0 Kudos

Hi,

Just create your class on src folder, what's the error? The class is not found? The class is deleted when a rebuild occurs?

Best regards