Re: I can't integrate Spring with GWT! What can I do?

2011-03-08 Thread Juan Pablo Gardella
If you have internet in your machine where you work, verify if you behind a
proxy. The set the proxy in your IDE. If not you can unzip the schema and
paste in your project.

Or try with:

http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd;

Juan


2011/3/8 Renan Wuo renan.baixi...@gmail.com

 Hi everybody

 I'm working on a project that's currently using:
  GWT - 2.0.4
  Spring - 3.0.5
  Hibernate - 3.3.1
  Maven - 2.2.1
  Google Plug in for Eclipse 3.6(HELIOS) - 2.2.0

 Whenever I try to run my app using the Jetty server I got this error:

 org.xml.sax.SAXParseException: schema_reference.4: Failed to read
 schema document 'http://www.springframework.org/schema/aop/spring-
 aop-2.5.xsd', because 1) could not find the document; 2) the document
 could not be read; 3) the root element of the document is not
 xsd:schema.


 This error concern this part of my XML configuration file:

 ?xml version=1.0 encoding=UTF-8?
 beans xmlns=http://www.springframework.org/schema/beans;
xmlns:aop=http://www.springframework.org/schema/aop;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://www.springframework.org/schema/beans

 http://www.springframework.org/schema/beans/spring-beans-2.5.xsd

 http://www.springframework.org/schema/aop

 http://www.springframework.org/schema/aop/spring-aop-2.5.xsd;

 Does anyone got any idea of what's going on ?

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: I can't integrate Spring with GWT! What can I do?

2011-03-08 Thread Renan Wuo
Thanks for the help.

I do have access to the internet and the proxy configurations are ok.

When I put the schema in the project this error is solved, but I got a
new error:

org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Unable to locate NamespaceHandler for namespace
[http://www.springframework.org/schema/aop]


The thing is, this error occurs only when I try to run the app from
the Jetty server, if I use a Tomcat server, the app runs fine.


On 8 mar, 15:02, Juan Pablo Gardella gardellajuanpa...@gmail.com
wrote:
 If you have internet in your machine where you work, verify if you behind a
 proxy. The set the proxy in your IDE. If not you can unzip the schema and
 paste in your project.

 Or try with:

 http://www.springframework.org/schema/aophttp://www.springframework.org/schema/aop/spring-aop-3.0.xsd;

 Juan

 2011/3/8 Renan Wuo renan.baixi...@gmail.com

  Hi everybody

  I'm working on a project that's currently using:
   GWT - 2.0.4
   Spring - 3.0.5
   Hibernate - 3.3.1
   Maven - 2.2.1
   Google Plug in for Eclipse 3.6(HELIOS) - 2.2.0

  Whenever I try to run my app using the Jetty server I got this error:

  org.xml.sax.SAXParseException: schema_reference.4: Failed to read
  schema document 'http://www.springframework.org/schema/aop/spring-
  aop-2.5.xsd', because 1) could not find the document; 2) the document
  could not be read; 3) the root element of the document is not
  xsd:schema.

  This error concern this part of my XML configuration file:

  ?xml version=1.0 encoding=UTF-8?
  beans xmlns=http://www.springframework.org/schema/beans;
         xmlns:aop=http://www.springframework.org/schema/aop;
         xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
         xsi:schemaLocation=http://www.springframework.org/schema/beans

 http://www.springframework.org/schema/beans/spring-beans-2.5.xsd

 http://www.springframework.org/schema/aop

 http://www.springframework.org/schema/aop/spring-aop-2.5.xsd;

  Does anyone got any idea of what's going on ?

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-toolkit@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: I can't integrate Spring with GWT! What can I do?

2011-03-08 Thread Juan Pablo Gardella
Try put this in your file. Remove the schema that you don't need:

?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:context=
http://www.springframework.org/schema/context;
xmlns:mvc=http://www.springframework.org/schema/mvc; xmlns:tx=
http://www.springframework.org/schema/tx;
xmlns:aop=http://www.springframework.org/schema/aop;
 xsi:schemaLocation=http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd;

Juan

2011/3/8 Renan Wuo renan.baixi...@gmail.com

 Thanks for the help.

 I do have access to the internet and the proxy configurations are ok.

 When I put the schema in the project this error is solved, but I got a
 new error:

 org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
 Configuration problem: Unable to locate NamespaceHandler for namespace
 [http://www.springframework.org/schema/aop]


 The thing is, this error occurs only when I try to run the app from
 the Jetty server, if I use a Tomcat server, the app runs fine.


 On 8 mar, 15:02, Juan Pablo Gardella gardellajuanpa...@gmail.com
 wrote:
  If you have internet in your machine where you work, verify if you behind
 a
  proxy. The set the proxy in your IDE. If not you can unzip the schema and
  paste in your project.
 
  Or try with:
 
 
 http://www.springframework.org/schema/aophttp://www.springframework.org/schema/aop/spring-aop-3.0.xsd
 
 
  Juan
 
  2011/3/8 Renan Wuo renan.baixi...@gmail.com
 
   Hi everybody
 
   I'm working on a project that's currently using:
GWT - 2.0.4
Spring - 3.0.5
Hibernate - 3.3.1
Maven - 2.2.1
Google Plug in for Eclipse 3.6(HELIOS) - 2.2.0
 
   Whenever I try to run my app using the Jetty server I got this error:
 
   org.xml.sax.SAXParseException: schema_reference.4: Failed to read
   schema document 'http://www.springframework.org/schema/aop/spring-
   aop-2.5.xsd', because 1) could not find the document; 2) the document
   could not be read; 3) the root element of the document is not
   xsd:schema.
 
   This error concern this part of my XML configuration file:
 
   ?xml version=1.0 encoding=UTF-8?
   beans xmlns=http://www.springframework.org/schema/beans;
  xmlns:aop=http://www.springframework.org/schema/aop;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://www.springframework.org/schema/beans
 
  http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
 
  http://www.springframework.org/schema/aop
 
  http://www.springframework.org/schema/aop/spring-aop-2.5.xsd;
 
   Does anyone got any idea of what's going on ?
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To post to this group, send email to
 google-web-toolkit@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.com.
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: I can't integrate Spring with GWT! What can I do?

2011-03-08 Thread Craig Mitchell
GWT has a bug in Hosted mode with Spring and Hibernate:
http://code.google.com/p/google-web-toolkit/issues/detail?id=3496

On Mar 9, 12:49 am, Renan Wuo renan.baixi...@gmail.com wrote:
 Hi everybody

 I'm working on a project that's currently using:
   GWT - 2.0.4
   Spring - 3.0.5
   Hibernate - 3.3.1
   Maven - 2.2.1
   Google Plug in for Eclipse 3.6(HELIOS) - 2.2.0

 Whenever I try to run my app using the Jetty server I got this error:

 org.xml.sax.SAXParseException: schema_reference.4: Failed to read
 schema document 'http://www.springframework.org/schema/aop/spring-
 aop-2.5.xsd', because 1) could not find the document; 2) the document
 could not be read; 3) the root element of the document is not
 xsd:schema.

 This error concern this part of my XML configuration file:

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

 Does anyone got any idea of what's going on ?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.