Re: Re: Compile errors
Tomasz Kochanek <[email protected]>
| Newsgroups | gmane.comp.java.ejb.middlegen.user |
|---|---|
| Message-ID | <[email protected]> |
I have tried both methods and still nothing. I got the same error.
As first trial I set HOME_XDOCLET for ..../middlegen/samples but without
any effect
Second I have set dataobject="true". Still the same error.
> You have to use the xdoclet jar files shipped with Middlegen for the
> facade beans to work properly, as the standard ones use data objects.
> Alternatively you can set the <cmp20> plugins dataobjects attribute to
> true, as this should generate dataobjects. Might also have to set some
> xdoclet property in the buildscript.
>>Platfom: Jboss 3.2 + PostgreSQL 7.4
>>
>>I got lots of compile errors It's because there are no XXXXData.java
>>files. What do I do wrong?
>>
>>Below: -
>>compile-ejb:
>> [javac] Compiling 298 source files to
>>D:\Narzedzia\middlegen\samples\build\classes
>> [javac]
>>D:\Narzedzia\middlegen\samples\build\gen-src\MyProject\ejb\BranchFacadeEJB.java:135:
>>cannot resolve symbol
>> [javac] symbol : class BranchData
>> [javac] location: package interfaces
>> [javac] public MyProject.interfaces.BranchData
>>findByPrimaryKey(MyProject.interfaces.BranchPK pk) throws
>>javax.ejb.FinderException, javax.naming.NamingException {
>>
>>Thank for help in advance
>>Tom
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND