首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

java.lang.IllegalArgumentException引见

2012-09-05 
java.lang.IllegalArgumentException介绍相信这个异常大家都很常见。我现在遇到一个需要配置tomcatserver.x

java.lang.IllegalArgumentException介绍

相信这个异常大家都很常见。

我现在遇到一个需要配置tomcat  server.xml来修正的找不到的问题:

如下:

<Context path="/www" docBase="D:\AMR2\AirChina_Portal\WebContent"  privileged="true"/>

<?xml version="1.0" encoding="UTF-8"?><!--  Licensed to the Apache Software Foundation (ASF) under one or more  contributor license agreements.  See the NOTICE file distributed with  this work for additional information regarding copyright ownership.  The ASF licenses this file to You under the Apache License, Version 2.0  (the "License"); you may not use this file except in compliance with  the License.  You may obtain a copy of the License at      http://www.apache.org/licenses/LICENSE-2.0  Unless required by applicable law or agreed to in writing, software  distributed under the License is distributed on an "AS IS" BASIS,  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the specific language governing permissions and  limitations under the License.--><!-- The contents of this file will be loaded for each web application --><Context privileged="true" reloadable="true">    <!-- Default set of monitored resources -->    <WatchedResource>WEB-INF/web.xml</WatchedResource>    <!-- Uncomment this to disable session persistence across Tomcat restarts -->    <!--    <Manager pathname="" />    -->    <!-- Uncomment this to enable Comet connection tacking (provides events         on session expiration as well as webapp lifecycle) -->    <!--    <Valve className="org.apache.catalina.valves.CometConnectionManagerValve" />    --><Loader delegate="true" /><ResourceLink global="jdbc/edsmpdb" name="jdbc/edsmpdb" type="javax.sql.DataSource"/></Context>

这是我遇见比较特殊的。自己留个备份。也希望能给大家提供的参考

另外。如果大家想要看该异常的用法。提供大家一个介绍的链接地址:

类 java.lang.IllegalArgumentException 的使用

热点排行