Код: Выделить всё
try {
Repository repository = JcrUtils.getRepository("http://localhost:8080/server/");
} catch (RepositoryException ex) {
Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
}
Однако я получаю:
javax.jcr.RepositoryException: Unable to access a repository with the following settings: org.apache.jackrabbit.repository.uri: "the locla host"
The following RepositoryFactory classes were consulted:
org.apache.jackrabbit.core.RepositoryFactoryImpl: declined
org.apache.jackrabbit.commons.JndiRepositoryFactory: declined
Perhaps the repository you are trying to access is not available at the moment.
< /code>
У меня нет проблем с просмотром сервера Jackrabbit с моим Webrowser. < /p>
Подробнее здесь: https://stackoverflow.com/questions/234 ... v-protocol
Мобильная версия