You need to override the constructor - here's an example:

http://tinyurl.com/yq4ppk

Matt

On 11/28/07, Fred Forester <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I recently switched over to appfuse 2.0 from 1.9.
>
> I noticed 2.0 no longer creates certain things with the app gen tool.
> I was creating a manager class using the new tutorial as a guideline.
>
> I am using appfuse2.0 with full source and the ant build. the manager
> interface compiles fine. the model was generated with gen-model
>
> I am getting a compiler error with the manager implementation.
>
> [javac]
> /home/fforest/dev/reductions/src/main/java/com/epstrategies/reductions/service/impl/Smf701LpdManagerImpl.java:14:
> cannot find sym
> bol
>      [javac] symbol  : constructor GenericManagerImpl()
>      [javac] location: class
> com.epstrategies.reductions.service.impl.GenericManagerImpl<com.epstrategies.reductions.model.Smf701Lpd,java.lang
> .Long>
>      [javac] public class Smf701LpdManagerImpl extends
> GenericManagerImpl<Smf701Lpd, Long> implements Smf701LpdManager {
>      [javac]        ^
>
> when trying to compile
>
> package com.epstrategies.reductions.service.impl;
>
> import java.util.List;
>
> import com.epstrategies.reductions.dao.Smf701LpdDao;
> import com.epstrategies.reductions.model.Smf701Lpd;
> import com.epstrategies.reductions.service.Smf701LpdManager;
> import com.epstrategies.reductions.service.impl.GenericManagerImpl;
>
> /**
>   * Implementation of Smf701LpdManager interface.
>   *
>   */
> public class Smf701LpdManagerImpl extends GenericManagerImpl<Smf701Lpd,
> Long> implements Smf701LpdManager {
> .....
>
> Thanx in advance.
> Fred
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to