Discussion:
[Middlegen-user] Compile errors
Tomasz Kochanek
2004-05-30 17:30:01 UTC
Permalink
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
Eivind Waaler
2004-06-01 05:09:03 UTC
Permalink
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.

Regards
.eivind
Post by Tomasz Kochanek
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: -
[javac] Compiling 298 source files to
D:\Narzedzia\middlegen\samples\build\classes
[javac]
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: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
Loading...