Ralf Coby

Ranch Hand
+ Follow
since Jan 04, 2018
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
1
Total given
11
Given in last 30 days
1
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by Ralf Coby

Ooops.

Thank you very much for your help
10 hours ago
Hi community,

when i want to run my program, then I get the following error-message:



What does this message mean?

Here is my code:
10 hours ago
Resolved.

The problem was: If you declare too many dependencies wich are the same but different to the version, then delete the folder: .m2/reporsytory/org/springframework.

Then start Eclipse and klick on your prject folder : --> maven --> project update.

Then eclipse loads the nessesery necessary dependencies.

If it doesnt work, then uninstall eclipse completely.
delete all eclipse-files and folders (but you can save your project-folder)

Then reinstall eclipse.

It worked fine for me.
6 days ago
Hi community!

Yes, it looks like a simple problem, but it isnt and i think I'm getting insane.

I get this following error-message with Eclipse and Spring Tool Suite:


I've done the following steps: 1.: Klick on project --> properties --> Deployment Assembly -> Add ->  Java Build Path Entries -> Maven Demepndencies -> Finish.
2.: mvn install and mvn build.
But if i enter these lines in my cmd (windows) I get the following insane lines:

But with netbeans, the same code works and the glassfish-server and maven as well!
I dont know the solution!

I hope you can help me.

Greetings
1 week ago
Hi community,

Netbeans doesnt find the correct classpath via FileSystemXmlApplicationContext.



I get the following exception:

If I change to

I get the following exception:


In eclipse, both variants work well.


Thanks a lot for your help.

Greetings
1 week ago
Resolved.

The problem was that spring-jdbc 3.0.3.RELEASE was required.
But i used spring-jdbc 5.0.3 RELEASE. So, obviously the classes org.springframework.jdbc.core.simple.ParameterizedRowMapper and org.springframework.jdbc.core.simple.SimpleJdbcTemplate were no longer supported in spring 5.0.3 framework.


1 week ago
Hi community!

My eclipse-IDE shows me, that the " import org.springframework.jdbc.core.simple.SimpleJdbcTemplate and import org.springframework.jdbc.core.simple.ParameterizedRowMapper" are missing.
But I have already installed the required dependencies "spring-boot-starter-jdbc , spring-jdbc and spring-dao"

I hope you can help me!


Thanks a lot
1 week ago
Hi community!

I have a problem with my simple Java-Programm.

Here are my classes and the xml-file:








<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">

<aop:config>
<aop:aspect ref="myAspectBean">
        <aop:pointcut id="myPointCut"
             expression="execution(public void aopDemo.HalloObject.sayHelloWorld())" />
<aop:after pointcut-ref="myPointCut" method="sayGoodbye" />
</aop:aspect>
</aop:config>
<bean id="halloObject" class="aopDemo.HalloObject" />
<bean id="myAspectBean" class=" aopDemo.AspectGabbleBetween" />
</beans>  




And the Error:




I dont know how to fix the error. I hope you could help me.


Thanks a lot.
2 weeks ago
I've found a great book to start with!

But I think it's only in a german-edition available.

It's called: "Spring 2 für Grünschnäbel" It's an open-book and free to download!

Greeeeeeeeeetz
2 weeks ago
Edit: If you know further books for the spring-framework which are suitabel for beginners, please let me know : )
2 weeks ago
Hi, and thank you for your help!

thank you very much for your help!

I will check out all of these books/ link to get an overview
2 weeks ago
Hello Community!
I'm lookung for books for spring-beginners.

I hope you can help me to get some tips

I am looking for books with practical examples for spring-beginners.


Thank you.


Greeetz
2 weeks ago
OOOOPS!

I'm sorry! I have detected the error!

I am blind!

Sorry for this useless thread!

And thank you for help!
1 month ago
JSP
Hi and thank you for answering.

My JavaBean has the right methods right now.
But it still doesn't work

1 month ago
JSP
Pardon, i have corrected my getter- and setter-methods.

But i still get this Error-Message: org.apache.jasper.JasperException: PWC6053: Can't find a method to write property 'firstName' of type 'java.lang.String' in a bean of type 'com.example.model.Person'
1 month ago
JSP