过滤器问题tomact已启动就报错

严重: Exception starting filter Filter
java.lang.ClassNotFoundException: com.hp.filter.Filter
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:249)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2016-6-14 22:15:55 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2016-6-14 22:15:55 org.apache.catalina.core.StandardContext start
严重: Context [/web10] startup failed due to previous errors
1我的过滤器代码是:
package com.web.filter;

import java.io.IOException;

import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**

  • 实现过滤器功能
  • @author Administrator
    *
    */
    public class Filter implements javax.servlet.Filter {
    private FilterConfig config;

    @Override
    public void destroy() {
    // TODO Auto-generated method stub

    }

    @Override
    public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
    System.out.println("doFilter");
    // TODO Auto-generated method stub
    /**
    * 获取httprequest对象
    /
    HttpServletRequest httprequest = (HttpServletRequest) request;
    /
    *
    * 获取httpresponse对象
    /
    HttpServletResponse httpresponse = (HttpServletResponse) response;
    /
    *
    * 获取上下文参数
    /
    String noPat = config.getInitParameter("noPaths");
    /
    *
    * 分割字符
    /
    String[] str = noPat.split(";");
    /
    *
    * 循环遍历 分割的字符串
    /
    for (int i = 0; i < str.length; i++) {
    /
    *
    * 为空结束本次循环
    */
    if (str[i] != null && "".equals(str[i]))

            continue;
        /**
         * indexOf返回不为-1 放行
         */
        if (httprequest.getRequestURI().indexOf(str[i]) != -1) {
            chain.doFilter(request, response);
            return;
        }
    }
    
    /**
     * 获取session中的username(用户名)
     */
    String username = (String) httprequest.getSession().getAttribute(
            "username");
    /**
     * 用户名不为空 放行
     */
    if (username != null) {
        chain.doFilter(request, response);
    } 
    /**
     * 用户名为空  拦截并返回登录页面
     */
    else {
        httpresponse.sendRedirect("login.jsp");
    }
    

    }

    @Override
    public void init(FilterConfig filterConfig) throws ServletException {
    // TODO Auto-generated method stub
    config = filterConfig;
    System.out.println("init******************");
    }

}
配置文件是:
<?xml version="1.0" encoding="UTF-8"?>
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<!-- Filter -->

Filter
com.hp.filter.Filter

noPaths
index.jsp;



Filter
.jsp;.html

<!-- IndexLoginServlet 登陆配置-->

IndexLoginServlet
com.web.servlet.IndexLoginServlet


IndexLoginServlet
/IndexLoginServlet

 <!-- Indext2RegisterServlet注册配置 -->


Indext2RegisterServlet
com.web.servlet.Indext2RegisterServlet


Indext2RegisterServlet
/Indext2RegisterServlet


index.jsp

4个回答

web.xml中过滤器的路径配置不对,试试这个
Filter
com.web.filter


Filter
com.web.filter.Filter

noPaths
index.jsp;



Filter
.jsp;.html

问题解决了
错误原因1、web.xml中的filter-class中路径错误
改正之后还是无法实现过滤功能,但是开启tomcat不会报错了
后来发现
错误原因2(我的web页面只有jsp和html)过滤所有页面是/*
不能写成*.jsp;*.html

现在问题是直接访问html页面时,登陆页面的图片都不会加载,但是css样式却可以加载

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
eclipse启动tomact报错。。。。
启动时:rn2008-7-25 9:23:27 org.apache.catalina.core.AprLifecycleListener lifecycleEventrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_06\bin;D:\Tomcat 5.5\binrn2008-7-25 9:23:27 org.apache.coyote.http11.Http11BaseProtocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2008-7-25 9:23:27 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 2657 msrn2008-7-25 9:23:27 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2008-7-25 9:23:27 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/5.5.26rn2008-7-25 9:23:27 org.apache.catalina.core.StandardHost startrn信息: XML validation disabledrn2008-7-25 9:23:29 org.apache.catalina.core.ApplicationContext logrn信息: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]rn2008-7-25 9:23:31 org.apache.catalina.loader.WebappClassLoader validateJarFilern信息: validateJarFile(D:\Tomcat 5.5\webapps\eProcurement\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.classrnQuartz Initializer Servlet loaded, initializing Scheduler...rnrn关闭时:rnrn2008-7-25 9:10:19 org.apache.catalina.startup.Catalina stopServerrn严重: Catalina.stop: rnjava.net.ConnectException: Connection refused: connectrn at java.net.PlainSocketImpl.socketConnect(Native Method)rn at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)rn at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)rn at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)rn at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)rn at java.net.Socket.connect(Socket.java:507)rn at java.net.Socket.connect(Socket.java:457)rn at java.net.Socket.(Socket.java:365)rn at java.net.Socket.(Socket.java:178)rn at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:395)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:344)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435)
tomcat已启动就报错
[color=#FF0000]我的tomcat 已启动就报错 说明在tomcat 被修改了 但是我最近的只在tomcat 下 修改了 server.xml 中添加了URIENcoding=UTF-8 但是报错信息却指向了我程序中filter的路径 不明所以[/color]rn[code=XML]严重: Exception starting filter SetEncodingFilterrnjava.lang.ClassNotFoundException: org.zero.space.common.SetEncodingFilterrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:249)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4356)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:924)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:887)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:578)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2009-1-19 20:38:42 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2009-1-19 20:38:42 org.apache.catalina.core.StandardContext startrn严重: Context [/gkhMVCDemo1] startup failed due to previous errorsrn2009-1-19 20:38:44 org.apache.catalina.loader.WebappClassLoader validateJarFile[/code]
发布程序,启动tomact报错。。。
013-7-15 15:24:00 org.apache.catalina.core.ApplicationContext logrn信息: Marking servlet action as unavailablern2013-7-15 15:24:00 org.apache.catalina.core.StandardContext loadOnStartuprn严重: Servlet /wlzp threw load() exceptionrnjavax.servlet.UnavailableExceptionrn at org.apache.struts.action.ActionServlet.init(ActionServlet.java:402)rn at javax.servlet.GenericServlet.init(GenericServlet.java:212)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rn2013-7-15 15:24:00 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2013-7-15 15:24:00 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2013-7-15 15:24:00 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/13 config=nullrn2013-7-15 15:24:00 org.apache.catalina.startup.Catalina startrn信息: Server startup in 11268 msrn
tomact报错
Caused by: java.lang.RuntimeException: DBUtils-init errorrnrnrn附上DBUtils代码:rnrnrnpublic class DBUtils rnrn private static DBUtils dbUtils = new DBUtils();rn private static String dbUrl;rnrn public static DBUtils getInstance() rn return dbUtils;rn rnrn @SuppressWarnings("unused")rn private void init() rnrn Properties p = new Properties();rnrn try rn p.load(this.getClass().getResourceAsStream("/dbConn.props"));rnrn String dbDriver = p.getProperty("db.driver");rnrn Class.forName(dbDriver);rnrn DBUtils.dbUrl = p.getProperty("db.url");rnrn catch (Exception e) rn throw new RuntimeException("DBUtils-init error",e);rnrn rn rnrn public Connection getConn() rn try rn Class.forName("com.mysql.jdbc.Driver");rnrn return DriverManager.getConnection(dbUrl);rnrn catch (Exception e) rn e.printStackTrace();rn rn return null;rn rnrnrnrn public void releseAll(java.sql.Connection conn, PreparedStatement pstm,rn ResultSet rs) rnrn if (rs != null) rn try rn rs.close();rn catch (Exception e) rn e.printStackTrace();rn rn rn if (pstm != null) rn try rn pstm.close();rn catch (Exception e) rn e.printStackTrace();rn rn rn if (conn != null) rn try rn conn.close();rn catch (Exception e) rn e.printStackTrace();rn rn rn rnrnrn
Ubuntu启动tomact问题
新生写写自己的东西,网大家点评指教,万分感谢。 最近自己在玩Ubuntu。我是做Java Web后台的。从网上看了些方法在Ubuntu(阿里云服务器上购买的)上安装JDK,Tomact,MySQL。但是要命的来了。好不容易搭好了环境。在启动Tomact的时候出现问题:"Ubuntu上显示Tomact已经启动。但我自己在Windows上用浏览器访问Ubuntu上的8080端口访问不了,查看日志,看
tomact 启动问题
请问严重各位高手,在启动Tomcat时下面的错误是什么问题啊rnStandardServer.await: create[8005]: rnjava.net.BindException: Address already in use: JVM_Bindrnat java.net.PlainSocketImpl.socketBind(Native Method)rnat java.net.PlainSocketImpl.bind(Unknown Source)rnat java.net.ServerSocket.bind(Unknown Source)rnat java.net.ServerSocket.(Unknown Source)rnat org.apache.catalina.core.StandardServer.await(StandardServer.java:372)rnat org.apache.catalina.startup.Catalina.await(Catalina.java:615)rnat org.apache.catalina.startup.Catalina.start(Catalina.java:575)rnat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rnat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rnat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rnat java.lang.reflect.Method.invoke(Unknown Source)rnat org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)rnat org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
tomact的启动问题
tomact的启动问题:发生下列问题,rn2004/11/12 13:38:42 org.apache.coyote.http11.Http11Protocol initrnjava.net.BindException: Address already in use: JVM_Bind:8080rn at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)rn at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:137)rn at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1429)rn at org.apache.catalina.core.StandardService.initialize(StandardService.java:609)rn如何解决?
Tomact启动问题
问题: [b]The listener &quot;org.springframework.web.context.ContextLoaderListener&quot; is already configured for this context. The duplicate definition has been ignored.信息: The listener &quot;org.springframework.web...
Eclipse中启动Tomact的问题
这几天我在Eclipse中启动Tomact的时候,它老是出现调式框,要我调式tomact,真不知道是怎么回事,我谁知道是为什么啊?前几天使用正常,现在连Tomact也不能启动了,一启动就要我调式,晕
linux下启动Tomact排查问题
Linux下启动Tomcat启动并显示控制台日志信息Windows下启动tomcat,一般直接运行startup.bat,启动后显示一些控制台启动的日志信息,就好像我们在编程序时候打印在控制台中的一样的。如果没有这些信息我们就好像没有眼睛的盲人瞎折腾,根本就搞不定这些问题。好好的去理解这个很有必要。借助前人的优秀的设计标准的打印在logs的日记中,存在的只是我们没有去看而已,碰巧没有出问题,懒得出看
android启动就报错
开发环境idea-14,然后已经添加了v7目录下面的v4和v7包到项目的libs目录,并且添加到Libraries中.实在想不到是什么地方出问题了,等大神,谢谢rnrnrn报错信息:rn[code=java]rnrnjava.lang.NoClassDefFoundError: android.support.v7.appcompat.R$styleablern at android.support.v7.app.DrawerArrowDrawable.(DrawerArrowDrawable.java:64)rn at android.support.v7.app.ActionBarDrawerToggle$DrawerArrowDrawableToggle.(ActionBarDrawerToggle.java:469)rn at android.support.v7.app.ActionBarDrawerToggle.(ActionBarDrawerToggle.java:222)rn at android.support.v7.app.ActionBarDrawerToggle.(ActionBarDrawerToggle.java:150)rn at com.xxx.MainActivity$3.(MainActivity.java:130)rn at com.xxx.MainActivity.onCreate(MainActivity.java:129)rn at android.app.Activity.performCreate(Activity.java:5231)rn at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)rn at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)rn at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)rn at android.app.ActivityThread.access$800(ActivityThread.java:135)rn at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)rn at android.os.Handler.dispatchMessage(Handler.java:102)rn at android.os.Looper.loop(Looper.java:136)rn at android.app.ActivityThread.main(ActivityThread.java:5017)rn at java.lang.reflect.Method.invokeNative(Native Method)rn at java.lang.reflect.Method.invoke(Method.java:515)rn at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)rn at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)rn at dalvik.system.NativeStart.main(Native Method)rnrn[/code]rnrnactivity文件:rn[code=java]rn mDrawerToggle = new ActionBarDrawerToggle(MainActivity.this, mDrawerLayout,rn R.string.drawer_open, R.string.drawer_close) rnrn /** Called when a drawer has settled in a completely closed state. */rn public void onDrawerClosed(View view) rn super.onDrawerClosed(view);rn getActionBar().setTitle("oncreate close");rn invalidateOptionsMenu(); // creates call to onPrepareOptionsMenu()rn rnrn /** Called when a drawer has settled in a completely open state. */rn public void onDrawerOpened(View drawerView) rn super.onDrawerOpened(drawerView);rn getActionBar().setTitle("oncreate open");rn invalidateOptionsMenu(); // creates call to onPrepareOptionsMenu()rn rn ;rn mDrawerLayout.setDrawerListener(mDrawerToggle);rnrn[/code]rnrnrnrnstyles.xmlrn[code=html]rnrnrnrnrnrn rnrnrn[/code]rnrnrnandroidmanifest.xmlrn[code=html]rnrnrnrnrn rn rnrn rn rn rn rn rn rn rn rnrnrnrn[/code]
项目在myeclipse运行没有报错,但是在tomact运行就报错
[img=https://img-bbs.csdn.net/upload/201406/10/1402389218_294095.jpg][/img]rn上图为myeclipse的运行的信息。rn[img=https://img-bbs.csdn.net/upload/201406/10/1402389450_499870.jpg][/img]rn上图为tomact加载时候的信息。rnrn大概可能加载spring配置文件的时候报错:rn而我的web.xml的spring配置rn rn contextConfigLocationrn classpath:applicationContext-*.xml rn rnrn有2个spring的xml文件,applicationContext-bean.xml和applicationContext-public.xml
tomact启动不了
apache-tomcat-6.0.14 用startup.bat启动不了,闪一下就没有了,但是在MyEclipse里面能启动,也能正常运行,请问这是怎么回事?谢谢!
tomact启动端口冲突
学jsp,配置tomact就遇到了问题。启动eclipse,再start tomact.无论我怎么改动配置文件service.xml中的端口,总是发生端口冲突,我看了一下端口,发现javaw,不管我怎么修改他总会与tomact端口相同,改了他也改。请问怎么解决.rn2007-7-28 11:47:57 org.apache.catalina.core.AprLifecycleListener initrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files\Java\jre1.6.0_02\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\Program Files\Java\jre1.6.0_02\bin\client;D:\Program Files\Java\jre1.6.0_02\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;D:\Program Files\Java\jdk1.6.0_02\bin;%TOMCAT_HOME%\binrn2007-7-28 11:47:57 org.apache.coyote.http11.Http11Protocol initrn严重: Error initializing endpointrnjava.net.BindException: Address already in use: JVM_Bind:8080rn at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501)rn at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:177)rn at org.apache.catalina.connector.Connector.initialize(Connector.java:1059)rn at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:518)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:538)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)rn2007-7-28 11:47:57 org.apache.catalina.startup.Catalina loadrn严重: Catalina.startrnLifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8080rn at org.apache.catalina.connector.Connector.initialize(Connector.java:1061)rn at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:518)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:538)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)rn2007-7-28 11:47:57 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 1136 msrn2007-7-28 11:47:58 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2007-7-28 11:47:58 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.13rn2007-7-28 11:47:58 org.apache.coyote.http11.Http11Protocol startrn严重: Error starting endpointrnjava.net.BindException: Address already in use: JVM_Bind:8080rn at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501)rn at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:515)rn at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:204)rn at org.apache.catalina.connector.Connector.start(Connector.java:1132)rn at org.apache.catalina.core.StandardService.start(StandardService.java:531)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2007-7-28 11:47:58 org.apache.catalina.startup.Catalina startrn严重: Catalina.start: rnLifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind:8080rn at org.apache.catalina.connector.Connector.start(Connector.java:1139)rn at org.apache.catalina.core.StandardService.start(StandardService.java:531)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2007-7-28 11:47:58 org.apache.catalina.startup.Catalina startrn信息: Server startup in 1004 msrn2007-7-28 11:47:58 org.apache.catalina.core.StandardServer awaitrn严重: StandardServer.await: create[9000]: rnjava.net.BindException: Address already in use: JVM_Bindrn at java.net.PlainSocketImpl.socketBind(Native Method)rn at java.net.PlainSocketImpl.bind(Unknown Source)rn at java.net.ServerSocket.bind(Unknown Source)rn at java.net.ServerSocket.(Unknown Source)rn at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)rn at org.apache.catalina.startup.Catalina.await(Catalina.java:630)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:590)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
启动Tomact异常
找不到tomact7版本中的juli.jar包(tomcat版本7中才有这样问题) 查找安装目录如: D:\shelly\software\apache-tomcat-7.0.40-windows-x64\apache-tomcat-7.0.40\bin  修改catalina.bat文件set classpath路径juli.jar放置位置。
tomact启动不了?
2012-3-15 10:46:37 org.apache.catalina.core.AprLifecycleListener initrn信息: Loaded APR based Apache Tomcat Native library 1.1.20.rn2012-3-15 10:46:37 org.apache.catalina.core.AprLifecycleListener initrn信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].rn2012-3-15 10:46:37 org.apache.catalina.startup.Catalina loadrn警告: Catalina.start using conf/server.xml: rncom.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence.rn at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanData(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanComment(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanComment(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)rn at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1642)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:524)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:562)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2012-3-15 10:46:37 org.apache.catalina.startup.Catalina loadrn警告: Catalina.start using conf/server.xml: rncom.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence.rn at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanData(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanComment(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanComment(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)rn at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1642)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:524)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:582)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rn2012-3-15 10:46:37 org.apache.catalina.startup.Catalina startrn严重: Cannot start server. Server instance is not configured.rn
如何删除已安装的tomact
如题。rn我删除是说“tomcat 无法删除:决绝访问。源文件可能正在被使用”rn我已经执行了shutdown.bat,另外如何看到tomcat启动后的服务,怎么知道tomcat服务有没有启动,谢谢!
启动Tomcat就报错,求解
2010-08-05 09:41:44,439 [main] ERROR ContextLoader - Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class cn.com.hnisi.fb.models.ShopBaseData)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1412)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:557)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class cn.com.hnisi.fb.models.ShopBaseData)rn at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1851)rn at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)rn at java.lang.ClassLoader.loadClassInternal(Unknown Source)rn at java.lang.Class.forName0(Native Method)rn at java.lang.Class.forName(Unknown Source)rn at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:192)rn at org.hibernate.mapping.PersistentClass.getMappedClass(PersistentClass.java:122)rn at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:191)rn at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:67)rn at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:136)rn at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:475)rn at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:133)rn at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84)rn at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:297)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1385)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:855)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:774)rn at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1469)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409)rn ... 36 morern2010-8-5 9:41:44 org.apache.catalina.core.StandardContext startrnrn本人使用的工具是MyEclipse8.0,JDK 是1.6,集成的是struts2,spring3,hibernate3rn在web.xml文件的配置是这样的:rnrn contextConfigLocationrn classpath:applicationContext.xmlrnrnrnrn org.springframework.web.context.ContextLoaderListenerrnrnrn报错的原因我个人认为是JDK版本的问题,但是我更换为MyEclipse自带的JDK也还是不行,请高手不吝赐教,多谢了
SpringMvc 项目一启动就报错
十二月 07, 2016 12:26:44 下午 org.apache.tomcat.util.digester.SetPropertiesRule beginrn警告: [SetPropertiesRule]Server/Service/Engine/Host/Context Setting property 'source' to 'org.eclipse.jst.jee.server:mvp' did not find a matching property.rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Server version: Apache Tomcat/8.0.36rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Server built: Jun 9 2016 13:55:50 UTCrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Server number: 8.0.36.0rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: OS Name: Windows 8.1rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: OS Version: 6.3rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Architecture: amd64rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Java Home: C:\Program Files\Java\jdk1.7.0_79\jrern十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: JVM Version: 1.7.0_79-b15rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: JVM Vendor: Oracle Corporationrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: CATALINA_BASE: D:\Project\JAVA\.metadata\.plugins\org.eclipse.wst.server.core\tmp1rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: CATALINA_HOME: D:\Exploit\apache-tomcat-8.0.36rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Xms1024mrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Xmx4096mrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -XX:MaxNewSize=512mrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -XX:MaxPermSize=1024mrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dcatalina.base=D:\Project\JAVA\.metadata\.plugins\org.eclipse.wst.server.core\tmp1rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dcatalina.home=D:\Exploit\apache-tomcat-8.0.36rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dwtp.deploy=D:\Project\JAVA\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebappsrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Djava.endorsed.dirs=D:\Exploit\apache-tomcat-8.0.36\endorsedrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dfile.encoding=UTF-8rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEventrn信息: 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\Java\jdk1.7.0_79\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseGit\bin;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\Doctrine extensions for PHP\;D:\111\app\mysql\bin;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;D:\111\app\mysql\bin;C:\Users\yao\AppData\Local\Microsoft\WindowsApps;.rn十二月 07, 2016 12:26:44 下午 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["http-nio-8080"]rn十二月 07, 2016 12:26:44 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelectorrn信息: Using a shared selector for servlet write/readrn十二月 07, 2016 12:26:44 下午 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["ajp-nio-8019"]rn十二月 07, 2016 12:26:44 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelectorrn信息: Using a shared selector for servlet write/readrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 908 msrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.core.StandardService startInternalrn信息: Starting service Catalinarn十二月 07, 2016 12:26:44 下午 org.apache.catalina.core.StandardEngine startInternalrn信息: Starting Servlet Engine: Apache Tomcat/8.0.36rn十二月 07, 2016 12:26:56 下午 org.apache.jasper.servlet.TldScanner scanJarsrn信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.rn十二月 07, 2016 12:26:57 下午 org.apache.catalina.core.ApplicationContext logrn信息: No Spring WebApplicationInitializer types detected on classpathrnSLF4J: Class path contains multiple SLF4J bindings.rnSLF4J: Found binding in [jar:file:/D:/Project/JAVA/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mvp/WEB-INF/lib/activemq-all-5.14.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]rnSLF4J: Found binding in [jar:file:/D:/Project/JAVA/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mvp/WEB-INF/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]rnSLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.rnSLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]rncom.mysql.jdbc.JDBC4Connection@78389fd6rn2016-12-07 12:26:57,489 [localhost-startStop-1] INFO [com.soc.common.servlet.CheckDbState] - database pool ok!rn十二月 07, 2016 12:26:57 下午 org.apache.catalina.core.ApplicationContext logrn信息: Initializing Spring root WebApplicationContextrn2016-12-07 12:27:01,799 [localhost-startStop-1] INFO [com.alibaba.druid.pool.DruidDataSource] - dataSource-1 initedrn十二月 07, 2016 12:27:09 下午 org.apache.catalina.core.ApplicationContext logrn信息: Initializing Spring FrameworkServlet 'springServlet'rnERROR [localhost-startStop-1] [DispatcherServlet] Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'phoneVirusRecordController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.soc.modules.phonevirus.service.PhoneVirusRecordService com.soc.modules.phonevirus.web.PhoneVirusRecordController.phoneVirusRecordService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'phoneVirusRecordService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.soc.modules.phonevirus.dao.PhoneVirusRecordDao com.soc.modules.phonevirus.service.PhoneVirusRecordService.phoneVirusRecordDao; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'phoneVirusRecordDao': FactoryBean threw exception on object creation; nested exception is org.springframework.data.mapping.PropertyReferenceException: No property get found for type com.soc.modules.phonevirus.entity.PhoneVirusRecordrn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1208)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)rn at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:651)rn at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:599)rn at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:665)rn at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:518)rn
关于MFC的程序,启动就报错的问题。
我开发的是一个基于对话框的应用程序。rn程序在我自己的机器上编译,运行都没有问题,但是拿到其他机器上,哪怕是从新编译,它也要报错。rn程序是在构造函数执行完成,在执行Domodel时报的错误,而且没有进入初始化对话框的那个OnInitDlg函数。错误类型是一个occcont.cpp文件的一个断言错误!rn由于我在建立工程时,使用了中文,也就是说,我建立的类是一个带中文名字的类:比如:C吃饭Dlg,现在我已经把中文去掉,但现象还是一样。rn麻烦高手指点!rn
eclipse启动tomact成功,浏览器无法访问的问题
eclipse中的项目部署到tomact,启动tomact成功,但是无法通过浏览器访问,解决如下: 1.查看tomact中项目是否部署到了tomact下的webapps中。 如图所示 按照以上方法解决,如果还是无法访问》》》,请移步下一步: 2.新建一个eclipse的工作空间,将eclipse的工作空间指向新建的那个,重新导入项目,重新部署tomact,然后启动,搞定!!!
eclipse中启动不了服务tomact问题
eclipse中启动不了服务tomact问题,双击serves 控制台下的服务,出现如下图,选择 server location 中的第二项,如果出现灰色无法修改,就把服务下的项目删了,如果出现IOException while saving persisted sessions: java.io.FileNotFoundException: D:\android works错误,就把tomcat
idea 启动多个Tomact失败
1.启动1个Tomact idea是没问题,然后修改另一个Tomact的端口号,在外部用黑窗口也可以启动正常访问,但是在idea中就不行2.查看第一个Tomact的配置:查看第二个tomcat配置:发现他们的 JMX port 是一样的,导致启动失败,修改JMX port 就可以启动成功了 ,快去试试吧!
MyEclipse中以debug的方式启动tomact报错
在myeclipse中启动tomcat时,显示出如图所示的错误,可能有以下原因造成:      1、 tomcat所用的端口配占用,可以在cmd命令行中 输入 netstat -ano 然后找一下对应的端口是否被占用,如果被占用了 ,则在任务管理器中把他终止,或者可以在cmd模式下使用kill杀死对应的进程。     2、 可能是由于电脑防火墙的原因。 可以恢复防火墙的默认设置,然后再
启动tomact后,打开页面报错,如下,请高手解决!
Error running javac.exe compilerrn org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:452)rn org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:44)rn org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:942)rn org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)rn org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:379)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)rn org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388)rn org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)rn org.apache.struts.action.ActionServlet.process(ActionServlet.java:1158)rn org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:689)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Tomact的问题
1.Tomact的bin中的startup 有时候会出现闪退问题。 看是否是IDE中8080端口被占用 2.Tomac所属的文件什么意思 bin 执行脚本 conf 存放配置文件 lib 存放第三方引用的依赖,jar包,dir文件等 logs 存放日志 temp 缓存文件 webapps 存放应用 3.部署Tomact 首先要war包,同时war包要包含jar包等 这就是包...
启动Tomact报错端口被占用(1099)的解决办法
解决办法: 第一步:找到被占用的端口号:打开命令提示框(win+r)执行命令netstat -aon|findstr 1099找到被占用的端口号。 第二部:关闭占用端口号的进程:执行命令taskkill -f -pid (被占用的端口号) ...
SSH三大框架的问题,整合报错!启动Tomcat就报错,急!!!
[b]-------这是ApplicationContext配置文件!!![/b] rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn org.hibernate.dialect.MySQLDialectrn rn rn rn rn rn rn com/syc/infomanager/entity/map/TargetInfo.hbm.xmlrn rn rn com/syc/infomanager/entity/map/UserInfo.hbm.xmlrn rn rn com/syc/infomanager/entity/map/CostInfo.hbm.xmlrn rn rn com/syc/infomanager/entity/map/BankInfo.hbm.xmlrn rn rn com/syc/infomanager/entity/map/WorkInfo.hbm.xmlrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrnrnrn[b]-----报错信息!!!!![/b]rn2009-03-25 15:19:37 Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@14562c5: defining beans [DataSource,SessionFactory,TargetInfoDAO,UserInfoDAO,CostInfoDAO,BankInfoDAO,WorkInfoDAO,UserInfoBiz,/user]; root of factory hierarchyrn2009-03-25 15:19:37 Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Vrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1336)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:578)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn
tomact问题
head&amp;gt;    &amp;lt;meta charset=&quot;UTF-8&quot;&amp;gt;    &amp;lt;title&amp;gt;首页&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body class=&quot;layui-layout-body&quot;&amp;gt;&amp;lt;div class=&quot;layui-layout layui-layout-admin&quot;&amp;gt
在eclipse启动tomact没有问题,直接切到tomact启动问题出来了。
很简单的一个问题,只是在定位的时候走了好多误区,记录下吧,没准以后别人也会遇到。遇到问题是这样的,我打包项目之后 将项目拷贝到tomact,然后启动tomact,在调用工作流activiti-bpmn-converter-5.15.1 时候,一直提示解析xml失败。 然后我就用eclipse直接 dubg模式启动,妈蛋的竟然没有问题,直接可以调用。中间定位问题走了很多误区,最终结果竟然是 我t
MyEclipse调试—启动IE报错:已停止工作
前几天遇到  从MyEclipse端启动调试,浏览器默认是IE,一直启动不起来,直接打开也是错的(已经停止工作...),有360浏览器 ,换成360 没有任何问题,并且之前用的的确是没有问题的。 从网上找的方法:按照网上的  修改Internet属性 cmd 命令:inetcpl.cpl ----修改Internet 属性  高级--还原高级设置 还尝试了:降低IE版本:从11降到了8 I...
dreamweaver cs4已开启就报错,急需解决
刚装好的dreamweaver cs4打开之后出现了注册码,我在网上寻的了一些并显示注册成功。rn但在打开就报错,错误能容为:rn Product license ha expired.rn我又卸掉从新安装了下,但打开后还是以上错误!rn 咋办,急需想要解决。rn想请高手给个指教!
tomact??
tomact服务器我开了.但又自动关闭.这怎么回事呢?我都重新安装了好几次了..因此http://localhost:8080/这首页也打不开
IIS启动就报错:发生意外错误0x8ffe2740
IIS启动就报错:发生意外错误0x8ffe2740  现象:  IIS的WEB服务器(停止),启动不了。启动就报错:发生意外错误0x8ffe2740 。分析:  如果系统中存在端口冲突就有可能发生本情况. IIS默认使用80端口进行HTTP通信. 如果除IIS外的应用程序正在运行并且正在相同的IP地址上使用80端口,在您试图使用IIS管理器启动网站时您也可能收到该错误讯息.解决方法  方法一:停...
急~~~~weblogic 9.2 启动就报错
现在weblogic9.2启动就开始报错,只报两个错误,请高手分析下什么原因.现在一启动过一天左右 java.exe 的CPU就占70%多,直接当机....这两个错误都是什么原因啊,半分种就报一次.不停的出......rnrn=======================第一个=========================================rnrn####<2007-5-4 上午11时47分50秒 CST> <[ACTIVE] ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1178250470797> <[weblogic.servlet.internal.WebAppServletContext@186e2f4 - appName: '5szone', name: 'up', context-path: ''] Servlet failed with Exceptionrnjava.lang.ClassCastException: javax.servlet.http.NoBodyResponsern at weblogic.servlet.internal.ServletResponseImpl.getOriginalResponse(ServletResponseImpl.java:1354)rn at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:95)rn at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)rn at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)rn at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)rn at javax.servlet.http.HttpServlet.doHead(HttpServlet.java:316)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rn at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)rn at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)rn at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)rn at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)rn at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)rn at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)rn at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:183)rn at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:125)rn at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:107)rn at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:78)rn at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:383)rn at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)rn at com.xinnuo.util.CharsetFilter.doFilter(CharsetFilter.java:49)rn at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)rn at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3212)rn at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)rn at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)rn at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)rn at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)rn at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)rn at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)rn> rnrnrnrn==============================第二个=====================================rnrn####<2007-5-4 上午11时47分53秒 CST> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1178250473219> <[weblogic.servlet.internal.WebAppServletContext@186e2f4 - appName: '5szone', name: 'up', context-path: ''] Root cause of ServletException.rnjavax.servlet.jsp.JspException: Input/output error: java.net.SocketException: socket write error: Connection reset by peer.rn at org.apache.struts.taglib.TagUtils.writePrevious(TagUtils.java:1250)rn at org.apache.struts.taglib.logic.IterateTag.doAfterBody(IterateTag.java:346)rn at jsp_servlet._web_45_inf._jsp._bbs._luntan.__left1._jspService(__left1.java:703)rn at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)rn at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)rn at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)rn at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)rn at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)rn at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)rn at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)rn at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)rn at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)rn at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rn at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)rn at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)rn at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)rn at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)rn at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)rn at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)rn at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:183)rn at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:125)rn at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:107)rn at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:78)rn at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:383)rn at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)rn at com.xinnuo.util.CharsetFilter.doFilter(CharsetFilter.java:49)rn at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)rn at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3212)rn> rnrn请高人指点....
一加项目启动就报错
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnjava.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)Vrn at org.apache.commons.logging.impl.SLF4JLocationAwareLog.trace(SLF4JLocationAwareLog.java:107)rn at org.springframework.core.CollectionFactory.createConcurrentMapIfPossible(CollectionFactory.java:195)rn at org.springframework.web.context.ContextLoader.(ContextLoader.java:153)rn at org.springframework.web.context.ContextLoaderListener.createContextLoader(ContextLoaderListener.java:53)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:44)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)rn at org.apache.catalina.core.StandardService.start(StandardService.java:519)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:581)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rn
tomcat为什么启动就报错,,,求帮助!
我的tomcat每次都报这样的错。哪位大师帮我看一下吧,我刚学,不会调.....可能是什么问题呢?rnrn2012-11-17 11:54:37 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\java\MyEclipse\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\binrn2012-11-17 11:54:38 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2012-11-17 11:54:38 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 1946 msrn2012-11-17 11:54:38 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2012-11-17 11:54:38 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.20rn2012-11-17 11:54:40 org.apache.jasper.EmbeddedServletOptions rn严重: The scratchDir you specified: C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\work\Catalina\localhost\docs is unusable.rn2012-11-17 11:54:40 org.apache.catalina.startup.HostConfig deployDirectoryrn严重: Error deploying web application directory host-managerrnjava.io.FileNotFoundException: C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\conf\Catalina\localhost\host-manager.xml (系统找不到指定的路径。)rn at java.io.FileOutputStream.open(Native Method)rn at java.io.FileOutputStream.(FileOutputStream.java:179)rn at java.io.FileOutputStream.(FileOutputStream.java:131)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:957)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:583)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2012-11-17 11:54:40 org.apache.catalina.startup.HostConfig deployDirectoryrn严重: Error deploying web application directory managerrnjava.io.FileNotFoundException: C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\conf\Catalina\localhost\manager.xml (系统找不到指定的路径。)rn at java.io.FileOutputStream.open(Native Method)rn at java.io.FileOutputStream.(FileOutputStream.java:179)rn at java.io.FileOutputStream.(FileOutputStream.java:131)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:957)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:583)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2012-11-17 11:54:40 org.apache.jasper.EmbeddedServletOptions rn严重: The scratchDir you specified: C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\work\Catalina\localhost\_ is unusable.rn2012-11-17 11:54:40 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2012-11-17 11:54:40 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2012-11-17 11:54:40 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/125 config=nullrn2012-11-17 11:54:40 org.apache.catalina.startup.Catalina startrn信息: Server startup in 2212 msrn
菜鸟求助,项目部署启动后就报错
今天组长给了个旧项目让我们运行下看看代码加一些功能,同事改了下数据库的链接就能运行了,我却一运行就报错,百度了大半天也没个结果。求指导,下面是报错代码rnrn2017-03-06 22:28:00,319 [org.springframework.web.context.ContextLoader][org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:220)]-[ERROR] Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'attachmentHibernateDAO': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.orm.hibernate3.HibernateTemplate com.mss.shtoone.persistence.hibernate.GenericHibernateDAO.template; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateTemplate' defined in ServletContext resource [/WEB-INF/classes/applicationContext-configuration.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/applicationContext-configuration.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: JDBC Driver class not found: net.sourceforge.jtds.jdbc.Driverrn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1064)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:574)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)rn at java.util.concurrent.FutureTask.run(FutureTask.java:262)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)rn at java.lang.Thread.run(Thread.java:744)rnCaused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.orm.hibernate3.HibernateTemplate com.mss.shtoone.persistence.hibernate.GenericHibernateDAO.template; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateTemplate' defined in ServletContext resource [/WEB-INF/classes/applicationContext-configuration.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/applicationContext-configuration.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: JDBC Driver class not found: net.sourceforge.jtds.jdbc.Driverrn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:507)rn at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)rn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:283)rn ... 22 morernCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateTemplate' defined in ServletContext resource [/WEB-INF/classes/applicationContext-configuration.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/applicationContext-configuration.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: JDBC Driver class not found: net.sourceforge.jtds.jdbc.Driverrn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:838)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:780)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:697)rn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:478)rn ... 24 morernCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/applicationContext-configuration.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: JDBC Driver class not found: net.sourceforge.jtds.jdbc.Driverrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1412)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBean三月 06, 2017 10:28:00 下午 org.apache.catalina.core.StandardContext listenerStartrn严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'attachmentHibernateDAO': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.orm.hibernate3.HibernateTemplate com.mss.shtoone.persistence.hibernate.GenericHibernateDAO.template; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateTemplate' defined in ServletContext resource [/WEB-INF/classes/applicationContext-configuration.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/applicationContext-configuration.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: JDBC Driver class not found: net.sourceforge.jtds.jdbc.Driverrn
启动服务器就报错,(此关于acegi)
rnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionRegistry' defined in ServletContext resource [/WEB-INF/applicationContext-acegi-security.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Cannot create inner bean '(inner bean)' of type [org.springframework.transaction.interceptor.TransactionInterceptor] while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'transactionManager' is definedrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:405)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:308)rn at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:948)rn at org.springframework.context.support.AbstractApplicationContext.registerListeners(AbstractApplicationContext.java:702)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:378)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
在spring-mvc架构下一启动tomcat就报错
Annotation-specified bean name 'userMapper' for bean class [cn.xdl.xolp.user.dao.UserMapper] 重点内容工程内有和UserMapper重名的
相关热词 c# 标准差 计算 c#siki第五季 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池