Git Product home page Git Product logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
视频的是米米饭自己制作的一个版本,v2.0.1.40与之有些许不��
�,看明白怎么搭建,然后照着doc/guild.html搭建
即可

Original comment by [email protected] on 30 Jun 2009 at 9:02

  • Changed state: Fixed

from rapid-framework.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
doc/guild.html中“生成的文件在$outRoot(默认为:d/webapp-generator-outp
ut)目录,再根据所需手
工拷回至工作目录 ”可操作性不强。

我将web,java_src(更名为src)覆盖拷贝到工作目录,将other\java_hibe
rnate_xmld下的com目录拷贝
到工作目录中的src目录下(覆盖拷贝)。

最后结果还是提示:
System Runtime Error: 
No bean named 'sessionFactory' is defined 

上网查了,说是web.xml中定义contextConfigLocation的路径不对,于�
��我修改为:
    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>classpath*:spring/*.xml,/WEB-
INF/classes/resources/spring/*.xml</param-value>
    </context-param>
重新启动Tomcat,还是同样的错误。

估计中间肯定还有“根据所需手工XXXX”的步骤,导致这个问�
��的发生。

附件是我生成的web目录,为控制附件大小,其中WEB-INF\lib目录
中的jar都被删除了。uranus.sql是
MySQL创建数据库的脚本。

有时间麻烦指点一下。谢谢

Original comment by [email protected] on 1 Jul 2009 at 2:30

Attachments:

from rapid-framework.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
plus:使用插件是 struts2+hibernate

Original comment by [email protected] on 1 Jul 2009 at 2:32

from rapid-framework.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
你要安装插件啊。安插完插件确认 
src/resources/spring/目录有applicationContext-
dao.xml,applicationContext-service.xml,applicationContext-resources.xml 

Original comment by [email protected] on 1 Jul 2009 at 2:42

from rapid-framework.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
已经执行了安装安装创建的ant build操作。

在e:/rapidframework/src/resource/spring/ 目录下的确有applicationContext-
dao.xml,applicationContext-service.xml,applicationContext-resources.xml  
三个文件。

发布后,在E:\rapidframework\web\WEB-INF\classes\resources\spring 
目录下也有此三个文件。

Original comment by [email protected] on 1 Jul 2009 at 3:43

from rapid-framework.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
肯定不是classes\resources\spring啊,是classes\spring
你源目录配置错了,对比web.xml也可以看出来

Original comment by [email protected] on 2 Jul 2009 at 3:48

from rapid-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.