Re: Compilation errors in generated code (cannot resolve symbol)
Dave Vyas <[email protected]> Tue, 2 Nov 2004 15:17:31 -0800 (PST)
| Newsgroups | gmane.comp.java.ejb.middlegen.user |
|---|---|
| Message-ID | <[email protected]> |
I was getting the same errors when using middlegen2.1. I had posted previously but never get an answer. If somebody has resolved it please post the hints. Kyle Burke <[email protected]> wrote: I am getting the following errors when running middlegen 2.1. Here are the errors and the code, respectively. It appears that the method is ignoring all of the params and passing a Collection, that doesn't exist in the generated source code, to another method. Has anyone run into this? I found very limited information regarding anything along these lines. Any help is appreciated. Regards Errors: ------------------------------------------------------------------- [javac] C:\~download\MI-Config App\middlegen\middlegen-2.1\samples\build\gen-src\com\workscape\testproj\ejb\CpPlanCfgBean.java:773: cannot resolve symbol [javac] symbol : variable cpPlanYearXrefs [javac] location: class com.workscape.testproj.ejb.CpPlanCfgBean [javac] setCpPlanYearXrefs(cpPlanYearXrefs); [javac] ^ [javac] C:\~download\MI-Config App\middlegen\middlegen-2.1\samples\build\gen-src\com\workscape\testproj\ejb\CpYearCfgBean.java:533: cannot resolve symbol [javac] symbol : variable cpPlanYearXrefs [javac] location: class com.workscape.testproj.ejb.CpYearCfgBean [javac] setCpPlanYearXrefs(cpPlanYearXrefs); [javac] ^ [javac] 2 errors ------------------------------------------------------------------- Code: ------------------------------------------------------------------- public void ejbPostCreate( java.lang.String cpPlanId, java.lang.String cpPlanName, java.lang.String cpPlanDesc, int sortOrder, java.lang.String custom1, java.lang.String custom2, java.lang.String custom3, java.lang.String custom4, java.lang.String custom5, java.lang.String custom6, java.lang.String custom7, java.lang.String custom8, java.lang.String custom9, java.lang.String custom10, java.sql.Timestamp ctlInsDttm, java.sql.Timestamp ctlUpdDttm, java.math.BigDecimal ctlTransSeqnum, int ctlUpdSeq, java.lang.String ctlDeletedInd ) throws javax.ejb.CreateException { // Set CMR fields setCpPlanYearXrefs(cpPlanYearXrefs); } ------------------------------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ middlegen-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/middlegen-user --------------------------------- Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com/a