No source code is available for type org.gwtcmis.model.restatom.Ato­mEntry; did you forget to inherit a required module?

28 views
Skip to first unread message

Prat2511

unread,
Oct 24, 2011, 4:06:35 AM10/24/11
to Google Web Toolkit
Hi I am new to GWT

i was trying to run gwtcmis-sample. link : -
http://code.google.com/p/gwt-cmis/wiki/GwtCMISClientSample
i add all the jar file which is necessary for running this project in
lib.


when I run this Project
its show many error
[ERROR] [cimsapplication] - Line 113: No source code is
available for
type org.gwtcmis.model.restatom.AtomEntry; did you forget to inherit
a
required module?
[ERROR] [cimsapplication] - Line 130: No source code is
available for
type org.gwtcmis.model.EnumBaseObjectTypeIds; did you forget to
inherit a required module?
..


when i try to inherit this in xml file like this.


<inherits name='com.gwt.model.restatom.AtomEntry'/>
<inherits name='com.gwt.model.EnumBaseObjectTypeIds'/>


i cant see the url http://127.0.0.1:8888/CIMSApplication.html?gwt.codesvr=127.0.0.1:9997
to run the Project.


but when i remove all the inherit from XML except <inherits
name='com.google.gwt.user.User'/>
i can c the URL. but many errors like i mentioned above.

Plz help me with this issue..



Thomas Broyer

unread,
Oct 24, 2011, 4:19:41 AM10/24/11
to google-we...@googlegroups.com
There's no org/gwtcmis/model/restatom/AtomEntry.gwt.xml; you should see errors that it cannot find such a file.

The documentation for the project <http://code.google.com/p/gwt-cmis/wiki/GwtCMISFramework> says to use <inherits name='org.gwtcmis.CmisClientFramework'/>

András Csányi

unread,
Oct 24, 2011, 4:20:24 AM10/24/11
to google-we...@googlegroups.com

The compiled stuff doesn't contain the source code. It's needed to use
modules. You have to change the compile settings.

--
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  ""Trust in God and keep your gunpowder dry!" - Cromwell

Pratyush Sinha

unread,
Oct 24, 2011, 5:38:43 AM10/24/11
to google-we...@googlegroups.com
Oh yes..
Thanks Alot,I didnt Notice that.
 
Thanks again..

On Mon, Oct 24, 2011 at 10:19 AM, Thomas Broyer <t.br...@gmail.com> wrote:
There's no org/gwtcmis/model/restatom/AtomEntry.gwt.xml; you should see errors that it cannot find such a file.

The documentation for the project <http://code.google.com/p/gwt-cmis/wiki/GwtCMISFramework> says to use <inherits name='org.gwtcmis.CmisClientFramework'/>

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/BMzU4IyILVgJ.

To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Pratyush Sinha

unread,
Oct 24, 2011, 5:53:45 AM10/24/11
to google-we...@googlegroups.com
yes i can run the Project and see the output screen as given in http://code.google.com/p/gwt-cmis/wiki/GwtCMISClientSample
but  there is window alert saying "Service http://xcmis.org/xcmis1/rest/cmisatom is not available".
this is URL which is is SamplePresenter.java is used for repository services.
how to slove this issue.
 
can i provide my  own path like " d:/CMISrootFolder" in string Url.

On Mon, Oct 24, 2011 at 10:19 AM, Thomas Broyer <t.br...@gmail.com> wrote:
There's no org/gwtcmis/model/restatom/AtomEntry.gwt.xml; you should see errors that it cannot find such a file.

The documentation for the project <http://code.google.com/p/gwt-cmis/wiki/GwtCMISFramework> says to use <inherits name='org.gwtcmis.CmisClientFramework'/>

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

Thomas Broyer

unread,
Oct 24, 2011, 8:23:22 AM10/24/11
to google-we...@googlegroups.com


On Monday, October 24, 2011 11:53:45 AM UTC+2, Prat2511 wrote:
yes i can run the Project and see the output screen as given in http://code.google.com/p/gwt-cmis/wiki/GwtCMISClientSample
but  there is window alert saying "Service http://xcmis.org/xcmis1/rest/cmisatom is not available".
this is URL which is is SamplePresenter.java is used for repository services.
how to slove this issue.

That's strange because it definitely *is* available. Do you have "var proxyServiceContext = "/rest/proxy";" in your HTML page, and a "/rest/*" servlet in your WEB-INF/web.xml? (as in the sample, as checked in to SVN).
 
 
can i provide my  own path like " d:/CMISrootFolder" in string Url.

No, because CMIS is a protocol on top of HTTP (actually, on top of Atom Protocol, which itself is on top of HTTP). You need a CMIS server.

Prat2511

unread,
Oct 24, 2011, 9:13:32 AM10/24/11
to Google Web Toolkit
Yes both the web.xml and html file are correct.. but when i restart
my eclipse its started working ,but with new window alert
"Connection establishment timed out"


On Oct 24, 2:23 pm, Thomas Broyer <t.bro...@gmail.com> wrote:
> On Monday, October 24, 2011 11:53:45 AM UTC+2, Prat2511 wrote:
>
> > yes i can run the Project and see the output screen as given in
> >http://code.google.com/p/gwt-cmis/wiki/GwtCMISClientSample
> > but  there is window alert saying "Service
> >http://xcmis.org/xcmis1/rest/cmisatomis not available".
Reply all
Reply to author
Forward
0 new messages