惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
Netflix TechBlog - Medium
I
InfoQ
Engineering at Meta
Engineering at Meta
Jina AI
Jina AI
Recent Announcements
Recent Announcements
T
The Blog of Author Tim Ferriss
P
Proofpoint News Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
D
Docker
Microsoft Security Blog
Microsoft Security Blog
宝玉的分享
宝玉的分享
Last Week in AI
Last Week in AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
GbyAI
GbyAI
博客园 - Franky
博客园 - 聂微东
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 叶小钗
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog RSS Feed
WordPress大学
WordPress大学
MyScale Blog
MyScale Blog
月光博客
月光博客
罗磊的独立博客

博客园 - Augur

又开始使用,学习 Integer和int Mybatis的学习1 知乎的 Java开发中的23种设计模式(转) vo与po entityVo对象与entity对象 dao 网上Java总结 dto vo html css col-md-offset VUE - 相对路径 转:防止跨站攻击,安全过滤 Java中的包装数据类型 一些名词 数据表 键值定义 mysql 表结构 楚乔传 Princess Agents Java学习08 (第一遍) - SpringMVC
初次安装与错误排除
Augur · 2017-12-19 · via 博客园 - Augur

CLASSPATH
.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar

JAVA_HOME
C:\Program Files\Java\jdk1.7.0_79

Tomcat_HOME
C:\apache-tomcat-7.0.68

CATALINA_HOME
C:\apache-tomcat-7.0.68

CATALINA_HOME2
C:\MM\tools\apache-tomcat-7.0.68

MAVEN_HOME

C:\apache-maven-3.3.9

settings.xml:

...

  <localRepository>C://mvn_repository</localRepository>

...

<mirror>
<id>nexus</id>
<mirrorOf>*</mirrorOf>
<url>http://10.205.7.228:9081/nexus/content/groups/public</url>
</mirror>
...
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>

...

<activeProfiles>
<activeProfile>nexus</activeProfile>
</activeProfiles>

...

jsp
build path :add laibrary ...
+ server

在eclipse中配置xmlcatalog 


Key Type: Namespace Name
Key:http://code.alibabatech.com/schema/dubbo/dubbo.xsd

cvc-complex-type.2.4.a: Invalid content was found starting with element 错误

Key Type: Namespace Name 
Key: http://www.springmodules.org/schema/cache/springmodules-  cache.xsd 
Key Type: Schema Location 
Key: http://www.springmodules.org/schema/cache/springmodules-  ehcache.xsd 
然后再将这连个xsd加入到web.xml中就搞定了 

  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"  
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance  http://www.springmodules.org/schema/cache/springmodules-cache.xsd http://www.springmodules.org/schema/cache/springmodules-ehcache.xsd"    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee   
  4.     http:">