0
Ich versuche, grundlegende Feder Web dynamische Projekt zu erstellen.
Unten finden Sie die Liste der Federbibliotheken.
Die Deklaration des Elements 'Bohnen' kann nicht gefunden werden. im Frühjahr
Und das ist mein Code HelloWeb-servlet.xml.
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_4.0.xsd"
bean-discovery-mode="annotated">
<context:component-scan base-package = "com.tutorialspoint" />
<bean class = "org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name = "prefix" value = "/WEB-INF/jsp/" />
<property name = "suffix" value = ".jsp" />
</bean>
</beans>
Und hier ist meine Projektstruktur.
Bitte helfen Sie mir. Vielen Dank.
die xmlns sieht seltsam aus, normalerweise ist es etwas anderes siehe https://stackoverflow.com/questions/17822466/spring-beans-dtd-and-xmlns zum Beispiel –
@RC WAS soll ich dort ändern –