年度博客排行
-
第1名
青否云后端云 -
第2名
宏天软件 -
第3名
wy_19921005 - gengyun12
- gashero
- 大家都说我很棒
- robotmen
- vipbooks
- fantaxy025025
- wallimn
- hbxflihua
- qepwqnp
- 解宜然
- e_e
- ranbuijj
- sichunli_030
- javashop
- zw7534313
- ssydxa219
- jickcai
- sam123456gz
- gdpglc
- zysnba
- benladeng5225
- tanling8334
- appalese
- gaojingsong
- gaozzsoft
- zhangyi0618
- wiseboyloves
- xpenxpen
- jh108020
- panshunchang
- luxurioust
- xyuma
- nychen2000
- 龙哥IT
- arpenker
- wjianwei666
- jbosscn
- wangchen.ily
- lzyfn123
- 狂盗一枝梅
- hanbaohong
- bsszds
- Jameslyy
- java-007
- xiangjie88
- mengjichen
- silverend
最新文章列表
JFreeChart 学习(2)-struts2+maven3
该资源均来自网络,稍作了整理,以便查询
开发环境:
eclipse Java EE IDE luna
struts2.3.20
maven3.2.5
pom.xml文件依赖配置
<properties>
<struts.version>2.3.20</struts.version>
</properties>
<depen ...
在ubuntu上安装maven3
到maven官网下载maven最新的安装包apache-maven-3.0.4-bin.tar.gz,并解压至/usr/local/目录,或可选地修改maven的使用用户:sudo chown -R user:group apache-maven-3.0.4
添加M2_HOME环境变量:在/etc/environment或~/.bashrc文件中添加
[plain] view p ...
Sample settings.xml for maven
<?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
dist ...
How to install Maven 3 on Ubuntu 12.04/12.10/13.04/13.10 by using apt-get
I started setting up my Ubuntu 12.10 on April 2013 and the normal apt-get install maven was not working for maven 3 back then.
The manual installation in this post is useful if you like to dig in de ...
Maven部署项目到Tomcat7出现403 Access Deny.
一、Tomcat6, Tomcat7中为了更好,更精确的实现权限控制,引入了多个用户角色,如manager-ui:用于查看HTML页面, 用于查看test的manager-script等。
<role rolename="manager"/>
<role rolename="manager-gui"/>
<rol ...
Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:XX
用Maven部署打包安装的时候,即执行mvn clean install -DskipTests的时候,
出现类似下面的异常:
Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:XX ,An Ant BuildException has occured Warning: Could not find ...
Maven3: How to Use Archetype to Generate Project Frame/Skeleton
1. Introduction
1) As we can see, the hierarchy of dirs is pre-defined in maven. And we have to follow such principle to organize our project.
2) So maven has provided a plugin named archet ...
Maven3: A Simple Example of Building SpringMVC with Maven3
1. A glimpse of Dir Hierarchy
2. pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:// ...
安装maven3运行mvn -v出错Exception in thread "main" java.lang.NoClassDefFoundError
下载和安装步骤,参照官网。
http://maven.apache.org/download.cgi#Installation
安装完成之后,运行mvn -v指令,发现出现异常。
Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/classwor
lds/Laun ...
Maven3环境配置
1.从apache官方网下载最新版本的安装包[maven-3.0.4],如下图所示:
2. 解压后放到D:\Maven3 [可以放到其它任何地方]
3. 配置环境变量 [和java环境变量配置一样,M2_HOME 值为解压的目录,Path 值为;%M2_HOME%\bin],如下图所示: 4. 测试一下是否安装成功[在DOS下输入命令:mvn -version 如下结果,则安装成功] ...
maven3和maven2不兼容引发的一次血案
由于项目组的规定,谁提的代码将hudson弄红,谁大家吃冰激凌,简称IceCream Rules。 所以大家在提代码的时候必须先在本地执行mvn clean install。今天发现一个问题,一位同事在本地执行maven clean install是好的,提交到hudson上变红,于是就触发了该法测。原因如下:
本地同事使用的是maven3,ci的hudson是mave ...
Maven3 创建项目
Maven 3.0.x 配置文档1、下载Maven 包并安装1.1下载地址:http://maven.apache.org/download.html,解压缩包并配置系统环境变量1.2配置变量修改Path,添加%MAVEN3_HOME%\bin;1.3检验是否安装正确2、配置用户选项参数Maven设置参数文件在$MAVEN3_HOME/conf/settings.xml或者${user.home}/ ...