Servlets 获取错误“;“未注册URI”;对于http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd

Servlets 获取错误“;“未注册URI”;对于http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd,servlets,intellij-idea,Servlets,Intellij Idea,我正在使用Intellij社区版和Tomcat 6.0.53。正在尝试显示此bean-#{helloWorld.getMessage()}。这是这一页上唯一的内容 首先,getMessage末尾的()会导致一个硬运行时错误。当我删除它并尝试输出一个字段时,比如#{helloWorld.message},所有的东西都会运行,但我会得到一个空白屏幕 我收到上面的消息,URI未注册,这导致我的servlet标记无法识别,这一定是问题所在。只是不知道如何注册。我转到模式和DTD,但不确定应该输入或选择什

我正在使用Intellij社区版和Tomcat 6.0.53。正在尝试显示此bean-#{helloWorld.getMessage()}。这是这一页上唯一的内容

首先,getMessage末尾的()会导致一个硬运行时错误。当我删除它并尝试输出一个字段时,比如#{helloWorld.message},所有的东西都会运行,但我会得到一个空白屏幕

我收到上面的消息,URI未注册,这导致我的servlet标记无法识别,这一定是问题所在。只是不知道如何注册。我转到模式和DTD,但不确定应该输入或选择什么。有人能带我走一下吗?谢谢

my web.xml的一部分附在下面,URI消息出现在这里

<?xml version = "1.0" encoding = "UTF-8"?>
<web-app xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
       xmlns = "http://java.sun.com/xml/ns/javaee"
       xmlns:web = "http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
       xsi:schemaLocation = "http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
       id = "WebApp_ID" version="2.5">

<welcome-file-list>
  <welcome-file>faces/home.xhtml</welcome-file>
</welcome-file-list>

<!--
   FacesServlet is main servlet responsible to handle all request.
   It acts as central controller.
   This servlet initializes the JSF components before the JSP is displayed.
-->

<servlet>
  <servlet-name>Faces Servlet</servlet-name>
  <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
  <load-on-startup>1</load-on-startup>
</servlet>

faces/home.xhtml
Facesservlet
javax.faces.webapp.FacesServlet
1.

(显示部分代码。servlet标记为红色,无法解析。)

只有IntelliJ IDEA Ultimate.提供了对web技术的适当支持。谢谢。有人能证实这一点只是为了确定吗?有人在社区版中像使用托管bean一样使用jsp吗?只有IntelliJ IDEA Ultimate.中才提供对web技术的适当支持。谢谢。有人能证实这一点只是为了确定吗?有人在社区版中像使用托管bean一样使用jsp吗?