Mike Grass
2004-10-30 18:09:25 UTC
Hey all,
I just downloaded middlegen and I am trying to get it to work with my
configuration (JBoss 4.0.0, mysql 4.1.6, xdoclet-1.2.2).
I am trying to use cmp20 persistence and struts for the action layer.
I've successfully run `ant create-tables`, but now when I run `ant`, I
get the following errors:
============= BEGIN ERROR DUMP ===============
compile-adapter:
[javac] Compiling 5 source files to
/home/mike/project-2/StudentEJB/middlegen-2.1/samples/build/
classes
[javac] /home/mike/project-2/StudentEJB/middlegen-2.1/samples/build/gen-src/airline/adapter/StrutsSeqBlockDelegate.java:33:
cannot resolve symbol
[javac] symbol : class SeqBlockFacadeUtil
[javac] location: package interfaces
[javac] seqBlockPersistence =
airline.interfaces.SeqBlockFacadeUtil.getHome().create().create(seqBlockPersistence);
[... 5 more failures to resolve SeqBlockFacadeUtil ... ]
[javac] /home/mike/project-2/StudentEJB/middlegen-2.1/samples/build/gen-src/airline/adapter/TranslatorUtil.java:106:
cannot resolve symbol
[javac] symbol : method setIdx (java.lang.Integer)
[javac] location: class airline.interfaces.SeqBlockValue
[javac] seqBlockPersistence.setIdx(seqBlockForm.getIdx());
[javac] ^
[javac] /home/mike/project-2/StudentEJB/middlegen-2.1/samples/build/gen-src/airline/adapter/TranslatorUtil.java:118:
setIdx(java.lang.Integer) in airline.web.struts.SeqBlockForm cannot be
applied
to (int)
[javac] seqBlockForm.setIdx(seqBlockPersistence.getIdx());
[javac] ^
============= END ERROR DUMP ===============
Any ideas?
Thanks,
--Mike
I just downloaded middlegen and I am trying to get it to work with my
configuration (JBoss 4.0.0, mysql 4.1.6, xdoclet-1.2.2).
I am trying to use cmp20 persistence and struts for the action layer.
I've successfully run `ant create-tables`, but now when I run `ant`, I
get the following errors:
============= BEGIN ERROR DUMP ===============
compile-adapter:
[javac] Compiling 5 source files to
/home/mike/project-2/StudentEJB/middlegen-2.1/samples/build/
classes
[javac] /home/mike/project-2/StudentEJB/middlegen-2.1/samples/build/gen-src/airline/adapter/StrutsSeqBlockDelegate.java:33:
cannot resolve symbol
[javac] symbol : class SeqBlockFacadeUtil
[javac] location: package interfaces
[javac] seqBlockPersistence =
airline.interfaces.SeqBlockFacadeUtil.getHome().create().create(seqBlockPersistence);
[... 5 more failures to resolve SeqBlockFacadeUtil ... ]
[javac] /home/mike/project-2/StudentEJB/middlegen-2.1/samples/build/gen-src/airline/adapter/TranslatorUtil.java:106:
cannot resolve symbol
[javac] symbol : method setIdx (java.lang.Integer)
[javac] location: class airline.interfaces.SeqBlockValue
[javac] seqBlockPersistence.setIdx(seqBlockForm.getIdx());
[javac] ^
[javac] /home/mike/project-2/StudentEJB/middlegen-2.1/samples/build/gen-src/airline/adapter/TranslatorUtil.java:118:
setIdx(java.lang.Integer) in airline.web.struts.SeqBlockForm cannot be
applied
to (int)
[javac] seqBlockForm.setIdx(seqBlockPersistence.getIdx());
[javac] ^
============= END ERROR DUMP ===============
Any ideas?
Thanks,
--Mike