on 05-23-2007 6:39 AM
previously , i have 3 commandbean class , after that i add another 2 commandbean class,
i hit the following error,
Invalid Class -JavaBean not available for import class
:net/solutions/model/ExternalToGateway
Jar: c:\documents and settings\yzme\sap\workspace\SmsGatewaywebdynpro\lib\SmsGatewayCommandBean.jar
Message was edited by:
yzme yzme
Message was edited by:
yzme yzme
Hi yzme yzme,
These problems occur when you are not following the specification for the java Beans that the netweaver platform expects:
Please check the following for eradicating the error:
1. Is there a setter which doe'snt have a consequent getter for the variable.If so provide it because its considered mandatory from the bean Specs.
2.If you have used your own methods for fetching and setting the value rather then using the getter setter for the same this will give a generational error on import.
Above listed mistakes are made by developers ona regular basis. Please go through the java bean specs on sun.java.com for more details
Regards
Amit
Allocate points if found Helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI yzme yzme,
While generating jar file in NDS,please select complete package rather than
only classes.
go through follwing blog.
<a href = "/people/balaramnaidu.bankuru/blog/2006/04/23/importing-complex-javabean-model-into-webdynpro-by-creating-relationships-for-the-model-classes Bean Model</a><br>
<br><br>
With Regards
Naidu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi yzme yzme,
Add SmsGatewayCommandBean.jar in your Java built path--> libraries.Delete the old model and recreate the model.
With regards,
Laksh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.