Hi,
Have you looked at
http://tapestry.apache.org/tapestry5/tapestry-spring/index.html? It doesn't
look like you have the TapestrySpringFilter configured in your web.xml
Josh
On 10/11/07, TNO [EMAIL PROTECTED] wrote:
Hi,
I can't find my beans !!! I try to get them from another jar. I found
the config files, the Spring logs seems OK, but when I inject my DAO,
exception !
here's my pb :
* java.lang.ClassNotFoundException
caught an exception while obtaining a class file for
org.atlog.mjweb.pages.Start
exception
org.apache.tapestry.internal.services.TransformationException:
Error obtaining injected value for field
org.atlog.mjweb.pages.Start.infoDAO: No service implements the
interface arc.db.auto.dao.InfoDAO.
Can you help me please...
here my web.xml
web-app id=WebApp_ID version=2.4
xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
display-nameMj Web/display-name
context-param
param-namecontextConfigLocation/param-name
param-value
classpath:/arc/db/config/application-context-arcdb.xml
classpath:/arc/db/config/application-context-arcdb-config.xml
/param-value
/context-param
context-param
param-nametapestry.app-package/param-name
param-valueorg.atlog.mjweb/param-value
/context-param
filter
filter-nameapp/filter-name
filter-classorg.apache.tapestry.TapestryFilter/filter-class
/filter
filter-mapping
filter-nameapp/filter-name
url-pattern/*/url-pattern
/filter-mapping
listener
listener-classorg.springframework.web.context.ContextLoaderListener
/listener-class
/listener
welcome-file-list
welcome-fileStart/welcome-file
/welcome-file-list
/web-app
And my java class :
public class Start extends BasePage {
private Info infoTitre;
public Start() {
super();
}
public ListInfo getListInfo() {
return infoDAO.getList();
}
@Inject
private InfoDAO infoDAO;
}
Thanks...
---
Antivirus avast! : message Sortant sain.
Base de donnees virale (VPS) : 000780-1, 10/10/2007
Analyse le : 11/10/2007 17:58:43
avast! - copyright (c) 1988-2007 ALWIL Software.
http://www.avast.com
--
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.