Search:

Type: Posts; User: igm; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    18
    Views
    3,199

    I see... so final advice: revert back to the...

    I see... so final advice: revert back to the original pom.xml and change slf4j version from 1.5.10 to 1.6.1 like this:
    <org.slf4j-version>1.6.1</org.slf4j-version>
    Actually I've tested it myself on...
  2. Replies
    18
    Views
    3,199

    that is funny, but did you even read my first...

    that is funny, but did you even read my first comment? the advice to remove "commons-logging" exclusion? In pom.xml it is one line above the line "<!-- Exclude Commons Logging in favor of SLF4j -->"....
  3. Replies
    18
    Views
    3,199

    it looks like you did not remove slf4j dependency...

    it looks like you did not remove slf4j dependency from pom.xml. Basically remove entire <!-- Logging --> section from pom.xml (everything between <!-- Logging --> and <!-- @Inject --> lines)
  4. Replies
    18
    Views
    3,199

    What exactly does not work? Are you getting any...

    What exactly does not work? Are you getting any other exception?
  5. Replies
    1
    Views
    354

    The list of checked exceptions must be compatible...

    The list of checked exceptions must be compatible with each target join point of the advice. So your join points have to throw APPErrorException and DBErrorException exceptions. What you can throw is...
  6. Replies
    18
    Views
    3,199

    I would try removing all "commons-logging"...

    I would try removing all "commons-logging" exclusions and also all slf4j dependencies. And I would even go further and removed log4j dependency. The result will be that commons-logging will be used...
  7. I'm not sure about that. The doc...

    I'm not sure about that. The doc says "FactoryBean that exposes an arbitrary target bean under a different name.". It exposes a bean that is already managed by a context (but under a different name).
  8. Replies
    3
    Views
    537

    why don't you use directly:

    why don't you use directly:
    <bean id="foo" class="java.util.concurrent.Executors" factory-method="newCachedThreadPool" />

    In the documentation you are referring to there's in section 3.2.3.2.2...
  9. Replies
    2
    Views
    413

    By default compiler plugin...

    By default compiler plugin uses target and source set to version 1.5.

    You can override this and include compiler plugin in your pom.xml:
    <build>
    <plugins>
    <plugin>
    ...
  10. Similar problem has been discussed already...

    Similar problem has been discussed already. Try looking over there to see how to combine XML and JavaConfig approach.
  11. Hi, there's a blog post...

    Hi,

    there's a blog post covering the topic.

    Just to quote the last paragraph to give an answer to your question:
    "One important takeaway here is that it is the FactoryBean, not the factoried...
  12. Although this question was asked a loong time...

    Although this question was asked a loong time ago, here is the answer. Don't use "annotatedPackages" but rather "packagesToScan". And the pattern to use is "directory" based (not package based), so...
  13. Replies
    7
    Views
    7,226

    Sticky: Try using this: ...

    Try using this:

    <dependency>
    <groupId>org.springframework.ws</groupId>
    <artifactId>spring-ws</artifactId>
    <version>1.5.10</version>
    </dependency>
  14. Replies
    5
    Views
    1,518

    so it looks like you're using 2 instances of...

    so it looks like you're using 2 instances of Apache Tomcat. First is located in C:/Program Files/Apache Software Foundation/Tomcat 6.0/ and second in C:/users/me/apache-tomcat-6.0.14/
    Which one are...
  15. Replies
    5
    Views
    1,518

    Ok, I see. The deployment performs direct copy to...

    Ok, I see. The deployment performs direct copy to webapps directory so no credentials are needed for that. Are you able to login to:
    http://localhost:8080/manager/html
    from the browser? (Or...
  16. Replies
    5
    Views
    1,518

    That's quite strange that you were able to deploy...

    That's quite strange that you were able to deploy you app but not perform list action. Server returned HTTP response code: 401, unauthorized access.
    Is you app really successfully deployed?
Results 1 to 16 of 16