解决问题的步骤21.小题的问题及步骤

您所在位置: &
&nbsp&&nbsp&nbsp&&nbsp
二、多项选择题(每小题都有2个以上的正确答案,每小题2.doc21页
本文档一共被下载:
次 ,您可全文免费在线阅读后下载本文档。
文档加载中...广告还剩秒
需要金币:350 &&
你可能关注的文档:
··········
··········
二、多项选择题(每小题都有2个以上的正确答案,每小题2分、第90题4分,共26分)
79.下列有关粒线体的叙述,何者正确?
A.将糖酵解产物彻底氧化,产生ATP
B.拥有自己的脱氧核糖核酸(DNA)
C.拥有脂质双层膜(lipid bilayer)构造
D.可经电子传递链(electron transfer chain)系统将电子传给水分子
80.下列有关原核生物细胞内基因表现的叙述,何者正确?
A.每一种氨基酸仅由一种tRNA携带
B.蛋白质的合成在核糖体上进行
C.转录与转译作用可以同时进行
D.密码子与真核生物相同
81.指出下列植物属单体雄蕊、二体雄蕊、四强雄蕊的依次是
A.荠菜 B.棉花 C.甘草 D.向日葵
82.桃、西瓜、玉米、草莓的可食用部分依次是由下列选项中的什么发育而来的(
E.胚乳 F.花括 C.子叶
83.下列有明显休眠期的植物产生休眠胡因不同,属于有抑制萌发物质存在的、后熟作用未完成的、种皮或果皮不透水不透气的依次是 ( )
A.红松 B.番茄 C.莲 D.小麦
84.下列有关被子植物和裸子植物区别的叙述,正确的是(
A.只有被子植物有双受精,且受精后受精极核比受精卵先分裂 ( )
B.只有被子植折具有导管,它是分布于韧皮部的死细胞
C.裸子植物的大孢子可以育成单倍的胚乳
D.两者的木质部都有管胞,而裸子植物韧皮部无伴胞
85.右图为刚发芽之小豆苗固定
于离心盘上,经离能生长一段时
间后,其胚根生长的情形,请选
同下列的选项。 ( )
A.此现象是因根部细
胞产生膨压而造成
局部生长位移的运动
B.此现象是因植物受到环境因素刺激,而引起组织生长不均所造成
C.此现象与刺激的方向及植
正在加载中,请稍后...springmvc+mybatis(42)
springmvc学习笔记(21)-springmvc整合mybatis遇到的问题及解决小结
标签: springmvc mybatis
本文主要记录springmvc整合mybatis整合过程中遇到的各种问题和解决方法
遇到的问题
在web.xml中&listener-class&标签报红
解决:改用2.5的版本
答案节选:
Servlet3.0是J2EE6.0规范的一部分,跟随J2EE6.0一起发布,并且Tomcat7.0已经完全支持Servlet3.0 ;
平时,我们一般使用tomcat6.0,是不能够使用servelt3.0的,tomcat6.0还不能支持那些规范;
至于说,为毛线不能使用lintener-class,是因为在web-app_3_0.xsd结构定义文件中,根本就不提倡这些配置,因为Servlet3.0已经支持注解形式;
当时解决了报红的问题。但后来我其他部分调试好了后,改回3.0也没报错。
BeanCreationException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [D:\intellij\workspace\learnssm-firstssm\target\learnssm-firstssm-1.0-SNAPSHOT\WEB-INF\classes\spring\applicationContext-dao.xml]: BeanPostProcessor before instantiation of nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:478)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
是少依赖的问题,输入mvn dependency:tree打依赖树:
D:\intellij\workspace\learnssm-firstssm&mvn dependency:tree
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building learnssm-firstssm 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ learnssm-firstssm ---
[INFO] com.iot.learnssm:learnssm-firstssm:war:1.0-SNAPSHOT
[INFO] +- org.springframework:spring-core:jar:4.2.4.RELEASE:compile
\- commons-logging:commons-logging:jar:1.2:compile
[INFO] +- org.springframework:spring-webmvc:jar:4.2.4.RELEASE:compile
+- org.springframework:spring-beans:jar:4.2.4.RELEASE:compile
+- org.springframework:spring-context:jar:4.2.4.RELEASE:compile
\- org.springframework:spring-aop:jar:4.2.4.RELEASE:compile
\- aopalliance:aopalliance:jar:1.0:compile
+- org.springframework:spring-expression:jar:4.2.4.RELEASE:compile
\- org.springframework:spring-web:jar:4.2.4.RELEASE:compile
[INFO] +- org.springframework:spring-jdbc:jar:4.2.4.RELEASE:compile
\- org.springframework:spring-tx:jar:4.2.4.RELEASE:compile
[INFO] +- mysql:mysql-connector-java:jar:5.1.38:compile
[INFO] +- org.mybatis:mybatis:jar:3.3.1:compile
[INFO] +- org.mybatis:mybatis-spring:jar:1.2.4:compile
[INFO] +- log4j:log4j:jar:1.2.17:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.7.18:compile
[INFO] +- commons-dbcp:commons-dbcp:jar:1.4:compile
\- commons-pool:commons-pool:jar:1.5.4:compile
[INFO] +- javax.servlet:jstl:jar:1.2:compile
[INFO] \- taglibs:standard:jar:1.1.2:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.956 s
[INFO] Finished at: 2016-03-03T20:06:00+08:00
[INFO] Final Memory: 11M/126M
[INFO] ------------------------------------------------------------------------
少了spring-aspects,spring-core等依赖,加上
&org.springframework&
&spring-core&
&${spring.version}&
&org.springframework&
&spring-orm&
&${spring.version}&
&org.springframework&
&spring-aspects&
&${spring.version}&
&org.springframework&
&spring-test&
&${spring.version}&
spring版本统一设置
&4.2.4.RELEASE&
mybatis绑定错误
错误:org.apache.ibatis.binding.BindingException: Invalid bound statement
使用了下面的方法检查,都没有解决。排除了包名不同等低级错误。
又找到了oschina一个人的帖子,有个回答感觉靠谱
是的,是没有在pom.xml配置build包含 xml,导致target目录下没有userMapper.xml
-by 唐小明生
我一看自己的target目录,发现还真是少mapper.xml文件
我想到了两种解决方案:
方案一:自定义一个插件,绑定某个生命周期,比如compile,然后插件目标的功能是将源码包下的xml文件copy到相应的输出目录。(现有插件是否有已有这个功能,通过简单的配置就能完成?我还不清楚)
方案二:在maven工程的src/main/resource目录下建和mapper接口类相应的包,将每个mapper.xml存在这里
这里我插件玩的不熟,所以没办法,只能手动在resources目录下建包,把每个mapper.xml手动粘贴进去
解决后如图:
请求参数乱码问题
在web.xml添加post乱码filter
&CharacterEncodingFilter&
&org.springframework.web.filter.CharacterEncodingFilter&
&encoding&
&CharacterEncodingFilter&
以上可以解决post请求乱码问题。解决后调试如图
对于get请求中文参数出现乱码解决方法有两个:
修改tomcat配置文件添加编码与工程编码一致,如下:
&Connector URIEncoding="utf-8" connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/&
另外一种方法对参数进行重新编码:
String userName = new
String(request.getParamter("userName").getBytes("ISO8859-1"),"utf-8")
ISO8859-1是tomcat默认编码,需要将tomcat编码后的内容按utf-8编码
请求参数类型转换问题
编写对应的转换类才行,具体参考前面参数绑定的博文
maven平台编码问题
[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!
在pom.xml文件的设置编码即可
json格式数据问题
1.请求是json格式
debug窗里报下面的错误:
org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/charset=UTF-8' not supported
浏览器报下面的错误:
HTTP Status 415 -anddescription The server refused this request because the request entity is in a format not supported by the requested resource for the requested method.
2.请求是key/value格式
debug窗里报下面的错误:
java.lang.IllegalArgumentException: No converter found for return value of type: class com.iot.learnssm.firstssm.po.ItemsCustom
参考stackoverflow的这个链接:
多加一个依赖jackson-databind(之前只加了jackson-mapper-asl的依赖, 间接依赖jackson-core-asl,但还不够。
&com.fasterxml.jackson.core&
&jackson-databind&
还没弄懂但不影响运行的问题
加载spring容器报红
web.xml节选
&contextConfigLocation&
&WEB-INF/classes/spring/applicationContext-*.xml&
/classes/spring/applicationContext-*.xml这部分字会报红,但运行起来没问题。我使用下面的那句&param-value&classpath:spring/applicationContext-*.xml&/param-value&不报红.原因不清楚。
这里两种方式都能跑通,但是引用的路径不同:一个是引用的的输出的target目录的classes下的,一个是引用输出的target/learnssm-firstssm-1.0-SNAPSHOT目录(相当于部署的WEBROOT或者叫做webapp),所以我觉得还是用WEB-INF下面那个更好
参数绑定配置问题
在自定义参数绑定时,spring.xml的配置如下:
id="conversionService" class="org.springframework.format.support.FormattingConversionServiceFactoryBean"&
name="converters"&
class="com.iot.learnssm.firstssm.controller.converter.CustomDateConverter"/&
其中&list&标签会报红,但不影响运行。去掉&list&标签,也可以运行成功。原因我还不知道,以后阅读源码会研究下这个问题。
maven依赖分析问题
dependency:analyze进行依赖分析
[INFO] --- maven-dependency-plugin:2.8:analyze (default-cli) @ learnssm-firstssm ---
[WARNING] Used undeclared dependencies found:
org.springframework:spring-context:jar:4.2.4.RELEASE:compile
org.springframework:spring-web:jar:4.2.4.RELEASE:compile
org.springframework:spring-beans:jar:4.2.4.RELEASE:compile
[WARNING] Unused declared dependencies found:
org.springframework:spring-orm:jar:4.2.4.RELEASE:compile
org.springframework:spring-aspects:jar:4.2.4.RELEASE:compile
org.springframework:spring-test:jar:4.2.4.RELEASE:compile
org.springframework:spring-jdbc:jar:4.2.4.RELEASE:compile
mysql:mysql-connector-java:jar:5.1.38:compile
org.mybatis:mybatis-spring:jar:1.2.4:compile
log4j:log4j:jar:1.2.17:compile
org.slf4j:slf4j-api:jar:1.7.18:compile
commons-dbcp:commons-dbcp:jar:1.4:compile
javax.servlet:jstl:jar:1.2:compile
taglibs:standard:jar:1.1.2:compile
org.hibernate:hibernate-validator:jar:5.2.4.Final:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.294 s
[INFO] Finished at: 2016-03-06T16:35:23+08:00
[INFO] Final Memory: 16M/164M
[INFO] ------------------------------------------------------------------------
可以看到里面有:
Used undeclared dependencies found:
Unused declared dependencies found:
当时为了解决缺包的问题,看到相关的spring-xxx包就加进去了,具体相互之间的依赖关系也没搞清楚,等我以后阅读spring源码再慢慢改好了。反正多引比少引好点,起码不会报错,顶多工程冗余点。
至于说使用了未声明的包就不知道为啥了,比如
.springframework:spring-context:jar:4.2.4.RELEASE:compile
.springframework:spring-web:jar:4.2.4.RELEASE:compile
.springframework:spring-beans:jar:4.2.4.RELEASE:compile
都被org.springframework:spring-webmvc:jar:4.2.4.RELEASE:compile依赖,这点可以从依赖树看到
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ learnssm-firstssm ---
[INFO] com.iot.learnssm:learnssm-firstssm:war:1.0-SNAPSHOT
[INFO] +- org.springframework:spring-webmvc:jar:4.2.4.RELEASE:compile
+- org.springframework:spring-beans:jar:4.2.4.RELEASE:compile
+- org.springframework:spring-context:jar:4.2.4.RELEASE:compile
\- org.springframework:spring-aop:jar:4.2.4.RELEASE:compile
\- aopalliance:aopalliance:jar:1.0:compile
+- org.springframework:spring-expression:jar:4.2.4.RELEASE:compile
\- org.springframework:spring-web:jar:4.2.4.RELEASE:compile
总之,上面未解决的问题,我会留意,如果有大神指导原因,请不吝赐教。
作者更多文章: |
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:52625次
积分:1285
积分:1285
排名:千里之外
原创:66篇
评论:39条
个人主页:
github主页:
文章:43篇
阅读:37371
阅读:3714
文章:12篇
阅读:8876
(1)(1)(1)(34)(23)(6)(1)21小题怎么做?要过程_百度知道
21小题怎么做?要过程
提问者采纳
1.v=s/t=(m)/108s=20m旦长测短爻的诧痊超花/s2.t=108s-360m/(20m/s)=90s
不是加2个360m吗
提问者评价
太给力了,你的回答完美地解决了我的问题,非常感谢!
其他类似问题
为您推荐:
其他1条回答
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁问题步骤记录器
(快来投票)
Loading...
#Windows技巧# 想必每个技术宅都有过在电话里或者QQ上教别人“修电脑”的经历,并无数次怀疑是自己表达能力欠佳还是对方理解能力捉急[抓狂] 别纠结了!用Windows自带的步骤记录器工具吧,它能一步步捕捉电脑操作流程,让你更方便地协助别人解决电脑问题。按下Win+R输入PSR回车即可调出,快试试吧![酷]
然后,让妹纸们知道了,又少了一条去妹纸家里修电脑的机会…
又少了一条去妹纸家里修电脑的机会
按分类查看文章:
大家都在讨论些什么
: 卡了一下,以为没成功又发了一次。。: 我使用macos和hexo、medium。碰碰运气,看看能不能被抽中。: 我使用macos和hexo、medium。碰碰运气看看能不能抽到。: 投降是什么鬼,小编准备干点啥呢?: 我是用windows和mac,主要使用typora和evernote,但是typora缺乏管理和与evernote的集成,希望可以尝试下wordmark,谢谢: 我使用Windows: 我使用 Windows 和 Typecho 和 Github
最热门标签
传说中的小众软件 让你的手机应用与众不同。
个人 blog 转载时请遵循 “署名-非商业性使用-相同方式共享” 的创作共用协议;
商业网站或未授权媒体不得复制本站内容。}

我要回帖

更多关于 解决问题的一般步骤 的文章

更多推荐

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

点击添加站长微信