on 12-03-2015 6:33 AM
Hello All,
System versions: -
Issue: -
We have a requirement to connect to multiple backends using ARFC2 model in a Web Dynpro Java DC.
To achieve this, we referred to SAPnote# 1920259 - ARFC2: Connecting to multiple backends.
As mentioned in SAP note, we have added SC ‘NWCEIDE 7.31’ as dependency to our custom SC ‘SC_NP_BMDE_COMPANY_OVERVIEW’
Inside Web Dynpro DC, we are getting below error while ‘build’: -
[javac] ERROR: C:\APPS\NWDS_7.4\eclipse\workspace.jdi\0\t\6A601B8FA5817E2E35F0563525D22185\gen_wdp\packages\de\mgi\np\bmde\model\comp\CIMModelComp.java:191: cannot find symbol
[javac] ERROR: symbol : constructor CIMDataModel(java.lang.String,java.lang.String)
[javac] ERROR: location: class de.mgi.portaldev.bmde.model.CIMDataModel
[javac] ERROR: model = new CIMDataModel(backendSystemId, backendSystemClient);
[javac] ERROR: ^
Error in log says that it is not able to locate model constructor with parameters (system id and client), which in fact is already present within DC.
Hence, we aren’t able to build the DC.
Any ideas?
Thanks & Regards,
Amey
which note said you have to add that dependency?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vijay,
I tried all above steps but still same error while build.
1. SLD is OK
2. No warning message. Just this error message after DC Right click > Development Component > Build
3. No improvement after repair project structure & classpath
4. Reload & Rebuilt project
5. Component properties > DC build state says : Last Build failed
Thanks & Regards,
Amey
Hello Jun,
Could you please share comments on below? 😞
I tried all above steps but still same error while build.
1. SLD is OK
2. No warning message. Just this error message after DC Right click > Development Component > Build
3. No improvement after repair project structure & classpath
4. Reload & Rebuilt project
5. Component properties > DC build state says : Last Build failed
Do I need to import CIM Model Data?
Please refer this document. it may help you document 1 and document 2
Kindly let me know if you need any more information from my end
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vijay,
Thanks for reply.
Yes, the CIMModel class is already present within same DC and also added as import in component controller where this constructor call is written.
And strange thing is, no error is shown at compile time, means, the entire DC shows 'clean', no import or compilation error is seen.
But when I 'build' the DC, it shows above error in build log.
Thanks & Regards,
Amey
is it repairable? it yes, please check
Did you check SLD is working fine ?
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.