Search:

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

Search: Search took 0.02 seconds.

  1. no suitable HttpMessageConverter found for response type

    Hello,

    I get this exception on the Android site using RestTemplate.


    Caused by: org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter...
  2. Replies
    1
    Views
    274

    Sorry, I find it. @Entity...

    Sorry, I find it.



    @Entity
    @Table(name="simcardhistory")
    @NamedQuery(
    name="findSimCardHistory",
    query="SELECT s FROM SimCardHistory as s"
    )
  3. Replies
    1
    Views
    274

    Error in simple named query, is not mapped

    Hello,

    When I try to deploy my application, I get an error like this:

    Error in named query: findSimCardHistory: org.hibernate.hql.internal.ast.QuerySyntaxException: SimCardHistory is not mapped...
  4. Ok thanks! So I add this configuration to my...

    Ok thanks!
    So I add this configuration to my application-context.xml



    <int-ip:tcp-connection-factory id="client"
    type="client" host="localhost" port="5555" single-use="true"...
  5. Integration with TCP server (read/write string to socket)

    Hi,

    I want to integrate via Spring integration.
    My standalone program connects to a ip address and port.

    I write String commands to the socket. For example: "S*1,2,3,4;" always ended with the...
  6. REST spring 3.1 returns HTTP Status 406 XML marshalling

    Hello,

    I've a controller that return a object. Convert to XML with the Xstream marshaller.
    I tryed also with headers = { "Accept=application/xml, text/xml" }, but it always give me the following...
  7. Where can I find the explanation? The web chapter?

    Where can I find the explanation? The web chapter?
  8. form submit modelAttribute create always new Object?

    Hi,

    I'm starting my first project in spring mvc. I used struts before. There is was different I think.

    I have a class User contains Collection of Devices.
    I want to edit just one field....
  9. I solved the problem :) Now I understand it: ...

    I solved the problem :) Now I understand it:



    <c:forEach items="${user.devices}" var="device" varStatus="dep">
    <tr>
    <td>${device.deviceId}</td>
    <td>${device.deviceType.name}</td>
    ...
  10. If I change it to

    If I change it to
    <td><forms:checkbox path="paid" /></td>

    This exception appears:



    org.springframework.beans.NotReadablePropertyException: Invalid property 'paid' of bean class...
  11. NotReadablePropertyException: Invalid property 'true' of bean class checkbox boolean

    Hello,

    I've a problem to bind a boolean property to a checkbox.
    This is my code:

    User class



    @Entity
Results 1 to 11 of 11