cancel
Showing results for 
Search instead for 
Did you mean: 

'invalid class-java beans not available for import

Former Member
0 Kudos

Hi Experts,

i am using java bean model in my Web Dynpro Application.

for that one i have created command bean(Customer) and in my command bean i am using some other class(CustomerInfo) as reference. this CustomerInfo class contains 4 attribtes(name ,id ,etc all are of type String)

when i try to import these 2 class into web dynpro (using java bean model),for the Customer class it

is giving an error message 'invalid class-java beans not

available for import'.but 2nd class(CustomerInfo) is imported successfully with out giving the error.what might be reason.

any help will be appriciated

Thanks in advance

With Regards

Naidu

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Naidu,

Please try to repeat JavaBean model import when running IDE in console mode (correspondign short-cut should be available in Windows Start menu, otherwise just copy original short-cut, edit it and change in command string "javaw" to java).

Post here what is shown on console during import.

VS

Former Member
0 Kudos

Hi Naidu,

Strange scenario there...

But, can you check if all your classes are in "some" package. As JAVA Bean Model implementation requires the Class to be in a package and not in "default" package. If that is the case then put it into package an try it again.

Regards,

Mausam