0 0

SpringMVC 添加red5.jar ,出现:Class path contains multiple SLF4J bindings.0

问题描述:
用SpringMVC+red5流媒体服务器做个点播和直播的程序, 添加red5.jar ,出现:Class path contains multiple SLF4J bindings.

详细提示:
2013-4-25 18:05:17 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\MyEclipse 6.5\bin;D:\apache-tomcat-6.0.35\bin
2013-4-25 18:05:17 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-80
2013-4-25 18:05:17 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 692 ms
2013-4-25 18:05:17 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2013-4-25 18:05:17 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.35
2013-4-25 18:05:17 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2013-4-25 18:05:18 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2013-4-25 18:05:18 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2013-4-25 18:05:18 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory dwz
2013-4-25 18:05:18 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2013-4-25 18:05:18 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2013-4-25 18:05:18 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2013-4-25 18:05:18 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2013-4-25 18:05:18 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory travel
2013-4-25 18:05:19 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/apache-tomcat-6.0.35/webapps/travel/WEB-INF/lib/red5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/apache-tomcat-6.0.35/webapps/travel/WEB-INF/lib/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
2013-4-25 18:05:23 org.apache.catalina.core.StandardContext listenerStart
严重: 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 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class org.slf4j.impl.StaticLoggerBinder)
	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:291)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:563)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class org.slf4j.impl.StaticLoggerBinder)
	at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2822)
	at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107)
	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:281)
	at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:152)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:104)
	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newConfiguration(LocalSessionFactoryBean.java:818)
	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:549)
	at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
	... 36 more
2013-4-25 18:05:23 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2013-4-25 18:05:23 org.apache.catalina.core.StandardContext start
严重: Context [/travel] startup failed due to previous errors
2013-4-25 18:05:23 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
2013-4-25 18:05:23 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-80
2013-4-25 18:05:23 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2013-4-25 18:05:23 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/32  config=null
2013-4-25 18:05:23 org.apache.catalina.startup.Catalina start
信息: Server startup in 6017 ms






当我删除 slf4j-log4j12-1.6.6.jar 的时候 又出现新的错误:

2013-4-25 18:18:12 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\MyEclipse 6.5\bin;D:\apache-tomcat-6.0.35\bin
2013-4-25 18:18:13 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-80
2013-4-25 18:18:13 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 687 ms
2013-4-25 18:18:13 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2013-4-25 18:18:13 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.35
2013-4-25 18:18:13 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2013-4-25 18:18:13 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2013-4-25 18:18:13 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2013-4-25 18:18:13 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory dwz
2013-4-25 18:18:13 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2013-4-25 18:18:14 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2013-4-25 18:18:14 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2013-4-25 18:18:14 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2013-4-25 18:18:14 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory travel
2013-4-25 18:18:15 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
2013-4-25 18:18:18 org.apache.catalina.core.StandardContext listenerStart
严重: 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 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class org.slf4j.impl.StaticLoggerBinder)
	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:291)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:563)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class org.slf4j.impl.StaticLoggerBinder)
	at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2822)
	at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107)
	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:281)
	at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:152)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:104)
	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newConfiguration(LocalSessionFactoryBean.java:818)
	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:549)
	at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
	... 36 more
2013-4-25 18:18:18 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2013-4-25 18:18:18 org.apache.catalina.core.StandardContext start
严重: Context [/travel] startup failed due to previous errors
2013-4-25 18:18:18 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
2013-4-25 18:18:19 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-80
2013-4-25 18:18:19 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2013-4-25 18:18:19 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/47  config=null
2013-4-25 18:18:19 org.apache.catalina.startup.Catalina start
信息: Server startup in 5916 ms




求指点,谢谢。
2013年4月25日 18:20
  • 大小: 63.3 KB

4个答案 按时间排序 按投票排序

0 0

采纳的答案

缺少jar包,通过运行你的项目,发现后台报错找不到类:
logback下面的类,下载最新的logback的包,地址为:
http://logback.qos.ch/download.html

2013年4月26日 09:09
0 0

如果red5自带了slf,就把springmvc的删除看看。典型版本冲突。

2013年4月25日 21:41
0 0

估计是red5.jar与slf4j-log4j12-1.6.6.jar中package和class重复造成的。

你先用压缩软件打开red5.jar,然后删除org.slf4j.impl包,试试看会不会报错。

2013年4月25日 19:05
0 0

java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class org.slf4j.impl.StaticLoggerBinder) 

Invocation of init method failed; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class org.slf4j.impl.StaticLoggerBinder) 

即使用了不同版本的jdk编译的 造成不兼容
估计你的slf4j太新了
换成slf4j-api-1.5.6.jar试试
https://red5.googlecode.com/files/Red5War_0.8.0.zip

2013年4月25日 18:42

相关推荐

    spring/springmvc/mybatis所需jar包

    - `log4j.jar` 或 `slf4j-api.jar + slf4j-log4j12.jar`:日志处理库,用于记录程序运行中的信息。 - `jstl.jar` 和 `standard.jar`:用于处理JSP页面的标签库。 - `commons-dbcp.jar` 或 `HikariCP.jar`:连接池,...

    springMvc+mybaties+slf4j

    【标题】"springMvc+mybaties+slf4j" 涉及的技术栈是企业级应用开发中常见的组合,主要包括Spring MVC、MyBatis和SLF4J。这三者分别是Spring框架的Web模块、轻量级持久层框架和日志门面。 【Spring MVC】是Spring...

    springMVC的jar包.rar

    - 可能还有其他第三方库,如`slf4j`(日志框架)、`commons-logging`(日志抽象层)、`jstl`(JSP标准标签库)等。 8. **版本4.0.15**:这是Spring框架的一个稳定版本,发布于2015年,包含了许多bug修复和性能改进...

    SpringMVC需要的jar包

    - `slf4j-api.jar` 和 `slf4j-log4j12.jar`: Simple Logging Facade for Java,提供了一种统一的日志记录接口,可以对接不同的日志实现(如Log4j)。 这些jar包构成了SpringMVC的基础框架,它们协同工作,使得我们...

    springmvc-jar包

    - `slf4j-api.jar` 和相应的实现库(如 logback-classic.jar、log4j.jar):用于日志记录,提供日志抽象层。 在实际应用中,你还需要根据具体需求选择和配置其他库,例如数据库驱动、模板引擎(如 Thymeleaf 或 ...

    springmvc的jar包.zip

    11. slf4j-api.jar 和 其对应实现(如 logback-classic.jar):简单日志门面,允许选择不同的日志实现。 12. aspectjrt.jar 和 aspectjweaver.jar:AspectJ 库,用于 AOP 的编译时和运行时织入。 这些 jar 包共同...

    SpringMVC 需要的jar

    - `log4j.jar`: 日志实现库,如Log4j,用于记录应用程序日志。 7. **Bean容器增强jar**: - `cglib-nodep.jar`: 代码生成库,用于动态创建子类,Spring AOP和Proxy的实现依赖它。 - `asm-*.jar`: 字节码操作库,...

    springMVC jar依赖包全

    - `spring-aop.jar`:实现了面向切面编程(AOP),允许在不修改代码的情况下添加新的行为。 3. **数据访问**: - `spring-jdbc.jar`:提供JDBC抽象层,简化数据库操作。 - `spring-tx.jar`:事务管理支持,可...

    学习构建SSM框架(SpringMVC+Spring+Mybatis)需要的jar包

    - `slf4j-api.jar` 和 `slf4j-log4j12.jar`:简单日志门面,提供了日志接口的统一使用。 - `commons-logging.jar`:Apache的通用日志库,Mybatis等库可能依赖它。 - `mysql-connector-java.jar`:MySQL的JDBC驱动...

    SpringMVC相关jar包

    SpringMVC是Spring框架的一个模块,专为构建Web应用程序提供模型-视图-控制器(MVC)架构。它简化了Java Web开发,并提供了强大的组件和工具来处理HTTP请求、响应以及数据绑定。以下是对SpringMVC相关jar包的详细...

    SpringMVC框架搭建所需jar包.rar

    - `commons-logging.jar`: 作为日志框架的抽象层,允许选择不同的日志实现(如log4j或java.util.logging)。 - `aopalliance.jar`: 提供了AOP联盟接口,是许多AOP框架的基础。 5. **JSON处理** - `Jackson库(如...

    springMVC开发所需全部jar包

    - `log4j.jar` 或 `slf4j-api.jar` 和相应的实现(如 `slf4j-log4j12.jar`):日志实现库,可根据需求选择使用。 6. **JSON 处理**: - `jackson-databind.jar`、`jackson-core.jar` 和 `jackson-annotations.jar...

    SpringMVC所需要的jar包

    - `log4j.jar` 或 `slf4j-api.jar` 及其绑定实现(如`slf4j-log4j12.jar`):日志框架,用于记录应用日志。 9. **Tomcat或Jetty服务器**:如果你是在本地开发,可能需要`tomcat-embed-core.jar`等Tomcat嵌入式库,...

    springmvc需要的jar包

    - `commons-logging.jar`: 通用的日志框架抽象,允许使用各种日志实现(如 log4j)。 5. **其他辅助库**: - `commons-fileupload.jar`: 用于处理文件上传的库。 - `commons-lang3.jar`: Apache Commons Lang ...

    org.springframework.web.servlet-3.0.1.RELEASE-A.jar

    Error creating bean with name 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0' defined in ServletContext resource [/WEB-INF/springMVC-servlet.xml]: Initialization of bean failed;...

    springMVC所需jar包

    4. **其他依赖**:在实际项目中,可能还需要其他库,如数据库驱动、JSON 库(如 Jackson 或 Gson)、日志库(如 Log4j 或 SLF4J)、Servlet API 和 JSP API 等。 在构建 Spring MVC 项目时,将这些 jar 包添加到...

    springmvc 需要的jar

    - `log4j.jar` 或 `slf4j-api.jar` 和相应的实现库:用于日志记录,例如 `slf4j-log4j12.jar`。 6. **JSON 序列化**: - `jackson-databind.jar`,`jackson-core.jar` 和 `jackson-annotations.jar`:用于 JSON ...

    springmvc+mybatis所需jar包集合

    - `slf4j-api.jar` 和相应实现:简单日志门面,允许选择不同的日志实现。 - `log4j.jar` 或 `logback-classic.jar`:具体的日志实现库。 在整合Spring MVC和MyBatis时,需要注意以下关键点: - 配置Spring MVC的...

    ssm项目启动需要的jar包

    - `slf4j-api.jar`: SLF4J接口,提供日志API。 - `jackson-databind.jar`: JSON序列化和反序列化的库,如Jackson。 - `httpclient.jar`: HTTP客户端库,如Apache HttpClient。 8. **Web服务器和应用服务器**: ...

    springmvc相关jar包

    在描述中提到的 "spring 3.0 必须的 jar 包" 指的是为了运行 Spring MVC 3.0 应用程序所需的核心库。下面将详细介绍 Spring MVC 3.0 中的关键组件、功能以及相关的 jar 包。 1. **Spring Core**: - `spring-core....

Global site tag (gtag.js) - Google Analytics