powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Java [игнор отключен] [закрыт для гостей] / Spring security pom.xml
3 сообщений из 3, страница 1 из 1
Spring security pom.xml
    #37765594
ccoder
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Намучился, что делать незнаю
Вот, может кто прошел
pom.xml
Код: java
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
        <dependency>
                <groupId>org.springframework.security</groupId>
                <artifactId>spring-security-core</artifactId>
                <version>3.0.5.RELEASE</version>
                <type>jar</type>
                <scope>compile</scope>
        </dependency>
        <dependency>
                <groupId>org.springframework.security</groupId>
                <artifactId>spring-security-config</artifactId>
                <version>3.0.5.RELEASE</version>
                <type>jar</type>
                <scope>compile</scope>
        </dependency>
        <dependency>
                <groupId>org.springframework.security</groupId>
                <artifactId>spring-security-web</artifactId>
                <version>3.0.5.RELEASE</version>
                <type>jar</type>
                <scope>compile</scope>
        </dependency>
        <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-web</artifactId>
                <version>3.0.5.RELEASE</version>
                <type>jar</type>
                <scope>compile</scope>
        </dependency>


spring-security.xml
Код: java
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/security"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"
	xmlns:sec="http://www.springframework.org/schema/security"
	xsi:schemaLocation="
http://www.springframework.org/schema/security
http://www.springframework.org/schema/security/spring-security-3.0.3.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">

	<http pattern="/resources" security="none" />


Получаю
авторcvc-complex-type.3.2.2: Attribute 'pattern' is not allowed to appear in element 'http'. spring-security.xml /eHealth/src/main/webapp/WEB-INF line 11 XML Problem
cvc-complex-type.3.2.2: Attribute 'security' is not allowed to appear in element 'http'. spring-security.xml /eHealth/src/main/webapp/WEB-INF line 11 XML Problem

А с
Код: java
1.
http://www.springframework.org/schema/security/spring-security-3.1.xsd


просит поменять....
...
Рейтинг: 0 / 0
Spring security pom.xml
    #37765603
ccoder
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
И такое получаю
авторorg.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler fo
r XML schema namespace [ http://www.springframework.org/schema/mvc%5D]http://www.springframework.org/schema/mvc]
...
Рейтинг: 0 / 0
Spring security pom.xml
    #37765627
ccoder
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Проблема была что старый war был на сервере
...
Рейтинг: 0 / 0
3 сообщений из 3, страница 1 из 1
Форумы / Java [игнор отключен] [закрыт для гостей] / Spring security pom.xml
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]