Я внес некоторые запрошенные изменения и обнаружил недостающие версии в системе управления версиями. Я декомпилировал war и снова добавил изменения, а затем настроил библиотеки так, чтобы они соответствовали друг другу.
Наконец-то у меня все заработало, но когда оно запускается внутри tomcat, оно просто зависает. Вот последние несколько строк...
Код: Выделить всё
05-Dec-2024 10:13:04.783 INFO [main] com.hazelcast.config.AbstractConfigLocator.null Loading 'hazelcast.xml' from the classpath.
05-Dec-2024 10:13:04.893 WARNING [main] com.hazelcast.internal.util.XmlUtil.null Enabling XXE protection failed. The attribute http://javax.xml.XMLConstants/property/accessExternalDTD is not supported by the TransformerFactory. The hazelcast.ignoreXxeProtectionFailures system property is used so the XML processing continues in the UNSECURE mode with XXE protection disabled!!!
05-Dec-2024 10:13:04.893 WARNING [main] com.hazelcast.internal.util.XmlUtil.null Enabling XXE protection failed. The attribute http://javax.xml.XMLConstants/property/accessExternalStylesheet is not supported by the TransformerFactory. The hazelcast.ignoreXxeProtectionFailures system property is used so the XML processing continues in the UNSECURE mode with XXE protection disabled!!!
05-Dec-2024 10:13:04.969 WARNING [main] com.hazelcast.internal.util.XmlUtil.null Enabling XXE protection failed. The property http://javax.xml.XMLConstants/property/accessExternalSchema is not supported by the SchemaFactory. The hazelcast.ignoreXxeProtectionFailures system property is used so the XML processing continues in the UNSECURE mode with XXE protection disabled!!!
05-Dec-2024 10:13:04.969 WARNING [main] com.hazelcast.internal.util.XmlUtil.null Enabling XXE protection failed. The property http://javax.xml.XMLConstants/property/accessExternalDTD is not supported by the SchemaFactory. The hazelcast.ignoreXxeProtectionFailures system property is used so the XML processing continues in the UNSECURE mode with XXE protection disabled!!!
У меня возникла проблема с XXE, и мне пришлось проигнорировать ее, чтобы предотвратить исключение.
Теперь я застрял и ищу небольшое руководство относительно того, что делать дальше. Я никогда раньше не работал над hazelcast.
Все советы приветствуются. Я целый день ковырялся в этой штуке и ничего не нашел. Я включил системное свойство:
Код: Выделить всё
System.setProperty("log4j2.debug", String.valueOf(true));
Кстати, зависание означает, что веб-служба не отвечает ни на какие запросы, и я получаю больше никаких сообщений.
Подробнее здесь: https://stackoverflow.com/questions/792 ... -hazelcast
Мобильная версия