SpringSource Tool Suite 缺少 Spring MVC 项目模板

2023-08-22Java开发问题
2

本文介绍了SpringSource Tool Suite 缺少 Spring MVC 项目模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

这不是

这样做与使用真正的模板项目的唯一区别是模板项目会自动为您配置一些东西,例如基本包和项目名称.但是,所有这些都可以在导入后更改.

This is not a duplicate of Spring Tool Suite missing Spring MVC project template

Using STS 2.9.2 and have the com.springsource.sts.wizard_2.9.2.201205071000-RELEASE in my plugins folder.

I want to use Spring MVC project template but cannot find it either on dashboard or under the "New->Other->SpringSource Tool Suite" menu.

I do not want to make a new installation, lots of installed plugins exist.

解决方案

For STS 3.0, the way that template projects are accessed has been changed, so it doesn't surprise me that you don't see the template project in the dashboard. However, you should see it in the new dialog. I'm not sure what could be happening. You could have a look at your error log and look for relevant stack traces (and paste them here).

Or you could install STS 3.1 or later. The easiest is probably to just go to the git repo where the template project exists, clone it and import it into your workspace as a maven project.

Here's the repo:

https://github.com/SpringSource/spring-mvc-showcase

The only difference between doing that and using a true template project is that the template project configures a few things automatically for you, like the base package and the project name. All this can be changed after importing, however.

这篇关于SpringSource Tool Suite 缺少 Spring MVC 项目模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

在 Eclipse 项目中使用西里尔文 .properties 文件
Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)...
2024-08-25 Java开发问题
18

基于 Spring MVC LocaleChangeInterceptor 注释不起作用
Spring MVC LocaleChangeInterceptor annotation based doesn#39;t work(基于 Spring MVC LocaleChangeInterceptor 注释不起作用)...
2024-08-25 Java开发问题
30

Eclipse 在尝试启动 Android 应用程序时卡住了
Eclipse gets stuck when trying to launch Android app(Eclipse 在尝试启动 Android 应用程序时卡住了)...
2024-08-25 Java开发问题
14

Eclipse:无法初始化监视器线程:无法建立环回连接
Eclipse: Failed to initialize Monitor Thread: Unable to establish loopback connection(Eclipse:无法初始化监视器线程:无法建立环回连接)...
2024-08-25 Java开发问题
4

Eclipse-找不到JDK
Eclipse- JDK not found(Eclipse-找不到JDK)...
2024-08-25 Java开发问题
6

如何让 Eclipse 在 Windows 7 任务栏中表现良好?
How to make Eclipse behave well in the Windows 7 taskbar?(如何让 Eclipse 在 Windows 7 任务栏中表现良好?)...
2024-08-25 Java开发问题
9