Chinaunix首页 | 论坛 | 博客
  • 博客访问: 986315
  • 博文数量: 150
  • 博客积分: 3017
  • 博客等级: 少校
  • 技术积分: 3829
  • 用 户 组: 普通用户
  • 注册时间: 2011-11-19 14:40
个人简介

Now in Baidu WISE team

文章分类

全部博文(150)

文章存档

2014年(8)

2013年(31)

2012年(111)

分类: Java

2013-12-20 14:00:17


使用的教程:https://www.ibm.com/developerworks/cn/web/wa-useapachewink/

我怎么感觉我把所有问题都遇到了。
遇到的问题:

1.new project 中没有 Dynamic Web Project
原因:少了几个J2EE还有web的开发包


安装以下几个包。 Help--->Instal New Software -->Helios
  • Eclipse Java EE Developer Tools
  • Eclipse Java Web Developer Tools
  • Eclipse Web Developer Tools
  • Eclipse XML Editors and Tools

2.安装Maven时出错
http://blog.csdn.net/geminit2011/article/details/9626851
Cannot complete the install because one or more required items could not be found.
  Software being installed: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
  Missing requirement: SCM Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.scm 1.4.0.20130601-0317) requires 'bundle org.slf4j.api 1.6.2' but it could not be found
  Cannot satisfy dependency:
    From: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-03

离线安装包:



在dropins目录下创建文件夹maven3

把解压出的features目录和plugins目录放到dropins下的maven3里就可以了,不用link方式。

测试
windows--首选项中有Maven

注意,这里如果你没有在Step1中安装Java EE的包,可能还是看不见Maven。


3.Target Runtime找不到东西
第一次打开。 里面只有Java EE的runtime,没有我们要的。我这里想装一个tomcat的runtime.
http://www.web-responsive.com/blog/?p=61

1. Go to: Help -> Install New Software
2. Select (or add): “”
3. Check the following: “JST Server Adapters” (there are two)

Now the adapters are installed, but not configured. Configuration is like this:

4. Go to: Eclipse -> Preferences (I am on a Mac)
5. Select: Server -> Runtime Environment
6. Click: “Add…”
7. Select: Apache -> Apache Tomcat v6.0 (or choose the version you need)


4.新建Dynmaic web project 报错:Failed while installing Dynamic Web Module 2.5.
http://gauss2008.iteye.com/blog/487080


Install one or all of the following:

JST Server UI
JST Web UI

It's probably a good idea to also install the following:

JST Server Adapters
WST Server Adapters



阅读(1909) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~