- 博客(15)
- 资源 (16)
- 问答 (6)
- 收藏
- 关注
翻译 解析maven2的配置文件之一(settings.xml)
<br /><!-- /* Font Definitions */ @font-face {font-family:Courier; panose-1:2 7 4 9 2 2 5 2 4 4; mso-font-alt:"Courier New"; mso-font-charset:0; mso-generic-font-family:modern; mso-font-format:other; mso-font-pitch:fixed; mso-font-sig
2010-06-28 18:01:00 2277 1
转载 tomcat5 的管理功能
<br />tomcat5.5的管理功能非常强,只要你配置好了tomcat-user.xml.<br /><br />主要是增加一个具有系统管理权限的用户,比如增加一个用户名和密码都是suxiaoyong的用户,只需要在在最后一行增加<br /><br />代码<user username="suxiaoyong" password="suxiaoyong" roles="admin,manager"/><br /><br /><br />其他的用户都可以删掉了<br /><br />
2010-06-28 11:22:00 1607
原创 Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1.0:deploy
应用tomcat-maven-plugin将maven项目部署在tomcat中时创建失败:*************************************************[INFO] --- tomcat-maven-plugin:1.0:deploy (default-cli) @ ssh ---[INFO] Deploying war to http://localhost:8080/ [INFO] -------------------------------------
2010-06-28 11:18:00 25901 1
转载 备忘-tomcat-maven-plugin的使用
环境:Ubuntu 8.10, tomcat6, mave2maven2有一个把web应用部署到tomcat下的插件 tomcat-maven-plugin , 我们可以使用这个插件把web应用一键式的部署到一个远程的tomcat中。插件的url: http://mojo.codehaus.org/tomcat-maven-plugin/1、要打开tomcat的manager功能这里要注意的问题是,如果你的web应用使用了虚拟主机,如www.test.com,那么你
2010-06-25 14:20:00 10937 3
转载 maven-tomcat-plugin的用法
maven-tomcat-plugin让maven与tomcat配合得很好。它可以把应用部署到Tomcat服务器,也可以把tomcat作为内嵌服务器启动,就像jetty一样。使用JPDA启动tomcat的远程调试功能。这样就能与eclipse配合起来,轻松地实现调试。而且具有tomcat的热部署功能。 具体做法如下:1 在pom.xml文件中配置maven-tomcat-plugin插件。Xml代码 org.codehaus.mojotomcat-maven-pluginorg.co
2010-06-25 11:58:00 9895 2
转载 Maven +Tomcat+m2eclipse的热部署(hot deploy)
<br />软件版本:maven 2.2 tomcat 6.0,Eclipse 3.4 <br />首先是建立环境,tomcat、maven、m2eclipse都不说了,这不配好,剩下的你也别看了。都准备好了,那我们就一步一步的开始了。 管理自己的tomcat.<br />到tomcat的安装目录中,F:/J2EE/apache-tomcat-6.0.24/conf在其中增加一个用户定义,默认是没有用户的,结果如下: <br /> view sourceprint?1<tomcat-
2010-06-25 11:37:00 4718
原创 运行maven install命令时出现错误(BUILD FAILURE)
创建了一个struts与spring集成的项目,运行run as—>maven install时出现以下错误:*******************************************[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ssh: Compilation failureUnable to l
2010-06-13 13:42:00 41675 1
原创 解决安装 maven for eclipse插件后,eclipse启动时警告
<br />在eclipse中安装了m2eclipse(maven插件)<br />在安装后,出现下列警告:<br />*************************************<br /><br />The Maven Integration requires that Eclipse be running in a JDK, <br />because a number of Maven core plugins are using jars from the JDK.<br /><
2010-06-12 17:22:00 2552 1
原创 在MyEclipse6.0中安装m2eclipse插件
刚刚开始学习maven的时候,为了避免安装插件的麻烦(因为看maven权威指南上说在安装m2eclipse之前需要安装一系列的其他插件),就直接安装了MyEclipse8.0,它是自带maven的,可使用了一段时间后,问题就来了,在创建maven项目的时候总是报错,archetype为webapp和struts2与spring集成的项目都不能够正确的创建,很是让人郁闷— —!!怎么先天集成好的插件还这么不好用啊,因为对maven学习的还不是很深入,出现了诸多的问题也不知如何解决,还是回过头来安装插
2010-06-11 18:21:00 4223
原创 使用maven2搭建SSH框架
<br />1.创建一个maven项目(在eclipse 中通过m2eclipse创建或者用mvn archetype:genetate命令创建)。<br /><br />2.添加spring,hibernate,struts2的依赖包,我的pom.xml如下:<br /><br /><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
2010-06-09 17:24:00 8602 1
原创 基于Tomcat5.0和Axis2开发Web Service代码详解
1.HelloWorld做了些什么?HelloWorld功能非常简单,在客户端输入你的姓名,本例中为ZJ。参数传递到服务器端后,经过处理将返回name+"HelloWorld!",本例中为ZJ HelloWorld! 2.服务器端文件HelloWorld.javaHelloWorld.javapackage sample; import org.apache.axiom.om.OMAbstractFactory;import org.apache.axiom.om.OMElement;import or
2010-06-07 11:39:00 567
转载 基于Tomcat5.0和Axis2开发Web Service应用实例
本文将介绍如何使用Tomcat5.0和Apache Axis2开发、部署及测试一个简单的Web Service应用。1.工作环境Eclipse 3.1.2+Lomboz+jdk1.5+ apache-tomcat-5.0.18+AXIS2:1.0(war版本和bin版本)在[url]http://ws.apache.org/axis2/download/1_0/download.cgi[/url]页面下,下载AXIS2的Binary Distribution url: [url]http
2010-06-07 10:36:00 587
转载 使用Axis2的底层API开发Web Service
本文是在理解官方指南的基础上,用实例实现Axis2提供的4种调用机制,并给出测试结果。1.使用Axis2的底层API开发Web Service Server端1.1创建一个WebService(取名为MyService) 在MyService中有两个operations,如下所示。public void ping(OMElement element){}//IN-ONLY模式。仅仅接收OMElement,并对其处理。public OMElement echo(OMElement
2010-06-07 10:26:00 1037
原创 myeclipse8.5安装axis2插件
<br />myeclipse8.5的安装目录中的dropin文件夹是专门用来存放插件的。<br />将Axis2_Codegen_Wizard_1.3.0和Axis2_Service_Archiver_1.3.0直接放在该目录下,<br />然后删除configuration文件夹下的org.eclipse.update文件夹,<br />重启MyEclipse即可看到Axis2 Wizards!
2010-06-04 14:17:00 3691 16
原创 MyEclipse8.5安装svn插件
<br />访问<br />http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240<br />下载SVN插件:site-1.6.10.zip<br />解压后将其全部文件拷贝至:D:/Program Files/Genuitec/MyEclipse 8.5/dropins(MyEclipse的安装目录)<br />重启MyEclipse即可出现SVN!
2010-06-04 13:20:00 2022
Programming Web Services with XML-RPC.pdf
2010-05-13
Axis+webservice+开发.pdf
2010-05-13
SmartUpload文件上传小例子
2010-04-14
flex嵌入到jsp中
2010-04-13
W3C(网页编程html+xhtml+htmldom+css+javascript+tcpip)
2010-01-12
struts2资源打包(struts2 in action、文档、教程)
2009-12-31
ext中文API+ sample.chm实例
2009-11-19
jsp中的背景图片无法保存background-image
2017-03-28
java中可变长参数使用有什么优势?
2016-12-06
打开MyEclipse发现左边的项目全部消失了
2016-12-02
strust2文件上传浏览器兼容问题
2016-07-05
TA创建的收藏夹 TA关注的收藏夹
TA关注的人