Hi,
        I am trying to learn middlegen as it looks like a great system. 
I have set up the config to use Postgresql and JBoss 3.0 (Hopefully
correctly). I have set fkcmp="false" because I gather that is the right
thing to do with Postgresql.
I have run into a problem with the sample app.
It gets right through to the <strutsconfigxml/> section without error.
When it gets to this section however I get the following error:
Is this something that I have done wrong?

compile-web:
Overriding previous definition of reference to compile.class.path
    [javac] Compiling 7 source files to
/archive/java/middlegen/middlegen/samples/build/classes
    [javac]
/archive/java/middlegen/middlegen/samples/src/java/airline/web/struts/GetReservationAction.java:79:
 cannot resolve symbol
    [javac] symbol  : constructor ReservationPK 
(java.lang.Integer,java.lang.Integer,java.lang.Integer)
    [javac] location: class airline.interfaces.ReservationPK
    [javac]                     ReservationLocal reservation =
ReservationUtil.getLocalHome().findByPrimaryKey(new
ReservationPK(flightIdFk, personIdFk, reservationId));
   
[javac]                                                                                
                        ^
    [javac]
/archive/java/middlegen/middlegen/samples/src/java/airline/web/struts/GetReservationAction.java:83:
 cannot resolve symbol
    [javac] symbol  : method getPerson  ()
    [javac] location: interface airline.interfaces.ReservationLocal
    [javac]                     request.setAttribute("person", 
reservation.getPerson());
   
[javac]                                                                   ^
    [javac]
/archive/java/middlegen/middlegen/samples/src/java/airline/web/struts/MakeReservationAction.java:91:
 cannot resolve symbol
    [javac] symbol  : method create 
(java.lang.Integer,java.sql.Timestamp,airline.interfaces.PersonLocal,airline.interfaces.FlightLocal)
    [javac] location: interface airline.interfaces.ReservationLocalHome
    [javac]                             reservationHome.create(reservationId, new 
Timestamp((new
Date()).getTime()), person, flight);
    [javac]                                                ^
    [javac] 3 errors

BUILD FAILED
file:/archive/java/middlegen/middlegen/samples/build.xml:482: Compile
failed; see the compiler error output for details.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to