求网站建设高手指点??????急急急 63天!!!

急!!!!求高手指点,springMVC+mybatis配置的问题 - Java Web - 网站开发技术
帮助别人就是帮助自己!
如果这里解决了您的问题,请您点一下推荐
急!!!!求高手指点,springMVC+mybatis配置的问题
&?xml version="1.0" encoding="UTF-8"?&
&web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="/xml/ns/javaee" xmlns:web="/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="/xml/ns/javaee /xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"&
&display-name&Hc&/display-name&
&context-param&
&param-name&contextConfigLocation&/param-name&
&param-value&
classpath:spring_config/applicationContext.xml
&/param-value&
&/context-param&
&servlet-name&spring&/servlet-name&
&servlet-class&
org.springframework.web.servlet.DispatcherServlet
&/servlet-class&
&init-param&
&param-name&contextConfigLocation&/param-name&
&param-value&classpath:spring_config/spring-config.xml&/param-value&
&/init-param&
&load-on-startup&1&/load-on-startup&
&/servlet&
&servlet-mapping&
&servlet-name&spring&/servlet-name&
&url-pattern&*.html&/url-pattern&
&/servlet-mapping&
&/web-app&
mybatis.xml
&?xml version="1.0" encoding="UTF-8"?&
&!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd"&
&configuration&
&typeAliases&
&typeAlias type="com.entity.HcCust" alias="HcCust"/&
&typeAlias type="com.entity.HcRv" alias="HcRv"/&
&typeAlias type="com.entity.HcRvc" alias="HcRvc"/&
&/typeAliases&
&mapper resource="mapper/HcRv.xml"/&
&/mappers&
&/configuration&
spring-config.xml
&?xml version="1.0" encoding="UTF-8"?&
&beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd"&
&context:component-scan base-package="com.action" /&
&bean id="viewResolver"
class="org.springframework.web.servlet.view.UrlBasedViewResolver"&
&property name="viewClass" value="org.springframework.web.servlet.view.JstlView" /&
&property name="prefix" value="/WEB-INF/jsp/" /&
&property name="suffix" value=".jsp" /&
applicationContext.xml
&?xml version="1.0" encoding="UTF-8"?&
&beans xmlns="http://www.springframework.org/schema/beans"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.1.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.1.xsd "&
&bean id="localSource" class="mons.dbcp.BasicDataSource"
destroy-method="close"&
&property name="driverClassName" value="com.microsoft.sqlserver.jdbc.SQLServerDriver" /&
&property name="url"&
&value&jdbc:sqlserver://DatabaseName=hc&/value&
&/property&
&property name="username"&
&value&sa&/value&
&/property&
&property name="password"&
&value&Pass123321&/value&
&/property&
&property name="validationQuery"&
&value&select getDate()&/value&
&/property&
&bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean"&
&property name="dataSource" ref="localSource" /&
&property name="configLocation"&
&value&classpath:mybatis/mybatis-config.xml&/value&
&/property&
&bean id="hcRvDao" class="org.mybatis.spring.mapper.MapperFactoryBean"&
&property name="sqlSeesionFactoryBeanName" ref="sqlSessionFactory" /&
&property name="mapperInterface" value="com.mapper.IHcRvDao" /&
&bean id="hcRvBiz" class="com.Biz.impl.HcRvBiz"&
&property name="hcRvDao" ref="hcRvDao"&&/property&
&bean id="hcAction" class="com.action.HcAction"&
&property name="hcRvBiz" ref="hcRvBiz"&&/property&
启动后报错:
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring_config/applicationContext.xml]: Invocation o nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource mapper/HcRv.xml
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:563)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:900)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:455)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:294)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:215)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource mapper/HcRv.xml
at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:71)
at org.apache.ibatis.builder.xml.XMLConfigBuilder.parse(XMLConfigBuilder.java:55)
at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:251)
at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:221)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1479)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
... 22 more
Caused by: java.io.IOException: Could not find resource mapper/HcRv.xml
at org.apache.ibatis.io.Resources.getResourceAsStream(Resources.java:89)
at org.apache.ibatis.io.Resources.getResourceAsStream(Resources.java:76)
at org.apache.ibatis.io.Resources.getResourceAsReader(Resources.java:134)
at org.apache.ibatis.builder.xml.XMLConfigBuilder.mapperElement(XMLConfigBuilder.java:245)
at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:69)
... 27 more
没人吗???急啊
Could not find resource mapper/HcRv.xml
找不到hcrv.xml配置文件,看路径是否写对。
路径改完后
继续报错:
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.mybatis.spring.mapper.MapperFactoryBean] for bean with name 'hcRvDao' defined in class path resource [spring_config/applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.mybatis.spring.mapper.MapperFactoryBean
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1323)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:889)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:562)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:900)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:455)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:294)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:215)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.mybatis.spring.mapper.MapperFactoryBean
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:257)
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:408)
at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1275)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1246)
... 19 more
是我的那个配置少写了一点吗??
org.mybatis.spring.mapper.MapperFactoryBean
没有这个类,这个类所在的jar包要是3.1以上的才行。
spring3发布时mybatis还没有出来,所以没有把mybastis整合进去。要单独下个mybatis-spring-1.0.2.jar大家进来看看,这种效果图能用CAD做出来吗?求高手指点如何 - CAD设计网() - 信息资讯 - AutoCAD二维
广告正在载入中...
&&&&&&&&&&&&&&&&&&
您的位置:&& &&
&& 查看内容
大家进来看看,这种效果图能用CAD做出来吗?求高手指点如何
作者: mare11&&发布日期:
查看数: &&
作者: fdsfds680617&&发布日期:
请楼主说明这是个什么东东,请多给几个视角。这个图曲面稀少。
作者: mare11&&发布日期:
这是个室内设计,就是给你一个空的房间,里面摆放的是货柜存放架,公司就给我张这样的图纸叫我画出这样的效果图,我都无从下手阿!请大家帮帮忙,谢谢!
作者: mare11&&发布日期:
做这种效果图是用CAD还是3D呢?需不需要买些模型素材?去哪里买呢?
作者: mare11&&发布日期:
fdsfds680617
这是个室内设计,就是给你一个空的房间,里面摆放的是货柜存放架,公司就给我张这样的图纸叫我画出这样的效果图,我都无从下手阿!请大家帮帮忙,谢谢!
作者: fdsfds680617&&发布日期:
[i=s] 本帖最后由 fdsfds680617 于
10:27 编辑
针对你这个图,建模:在主视图中画出所有货架的顶视图,做成面域,整体拉伸一定高度,也可以做一个标准件,因为每个货架如果内部要分格、抽壳、圆角等等的细部工作的话。单个做好后,按照布局线再一一定位。这是个思路,也可以尝试用多段体。渲染,好像材质不多,主要考虑相机透视和光的问题。你可以试试。
作者: fdsfds680617&&发布日期:
感觉好像是公共浴室,,,
作者: white168520&&发布日期:
感觉挺难的……
作者: mare11&&发布日期:
fdsfds680617
呜呜呜~~我是做平面设计一般用PS\CDR比较多的,CAD只会皮毛,我们CAD绘图的同事辞职了,我被领导抓来做这个,不好意思请问能不能有点详细步骤喔?
作者: fdsfds680617&&发布日期:
[i=s] 本帖最后由 fdsfds680617 于
11:13 编辑
步骤如下:
1、做一个标准件,从上到下是一排分格的,做法:拉伸一个长方体实体,抽壳后,正立面做成抽屉分格,可以用小长条实体阵列后,并集压印。
2、画出所有的平面布局分格线,按每格角点对齐标准件。
3、周圈圆弧部分,可以做一个再阵列。其它辅助部分不提了。
4、门口收费处,根据需要做,可以适当布置些小物件。
5、做相机透视,看你需要表达的那个部分,就投向那里。
6、渲染,附木质材质给柜子,给地面附地砖材质,注意比例和反射调节。
7、如有顶棚,应设置足够的光域网,
如果这样你还有困难,建议你自学基础。
作者: fdsfds680617&&发布日期:
其实PS可以鼠画的,也能画出相当水平的画来,画这个应该是容易的,而且可以做出立体效果。
共有评论数 13/每页显示数 10
我来说两句
请遵守国家法律和互联网法规。您要为您所发的言论的后果负责,故请各位遵纪守法并注意语言文明。
注意:系统启用了静态/缓存功能,您的回复可能不能立即显示。
&发布商链接
Copyright&& &&&&&All rights reserved.
Processed in 0.008827 second(s), 0 queries, Gzip enabled谁能告诉我word2010版怎么制作目录,我实在是找不到“目录和索引”怎么插入,求高手指点~急急急~~_百度知道
谁能告诉我word2010版怎么制作目录,我实在是找不到“目录和索引”怎么插入,求高手指点~急急急~~
提问者采纳
引用里面,自动生成目录
给个图吧,我就是找不到在哪里。谢啦~
提问者评价
多谢啦。O(∩_∩)O哈哈~
其他类似问题
word2010的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁呼和浩特网站建设seo推广?怎么能做好seo推广?求高人指点迷津 ._百度知道
呼和浩特网站建设seo推广?怎么能做好seo推广?求高人指点迷津 .
提问者采纳
你现在要做家居建材网络营销推广,就得买款‘旺道智能SEO系统’对你家居建材有一定的效果。,
提问者评价
向帮助过我的人说;谢谢
其他类似问题
按默认排序
其他2条回答
还要有sem和整合营销知识点,seo四大核心
内链 外链 锚文本 关键词
seo只是一个优化技巧,
团队超过两个人做一个站,就用前面那个的方法。只有一个人做一个站,直接刷SNS和网站本身内容的质量。每天加同类友链。更具日志去刷一下你的网站被蜘蛛的时间,要是自己做,那就拼接一下蜘蛛的时间选择更新的点
指点迷津的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁}

我要回帖

更多关于 急急急 63天 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信