Błąd przy kompilacji

0

Witam czy moze ktos mi powiedziec dlaczego wyskakuje mi ten blad przy kompilacji?. Wydaje się wszystko ok, ale jednak gdzies tkwi ten blad:(

 

GWT XML:

<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='smart'>
  <inherits name='com.google.gwt.user.User'/>
      <inherits name='com.google.gwt.user.theme.standard.Standard'/> 
      <inherits name='com.gwtext.GwtExt' />
      <script src="js/ext/adapter/ext/ext-base.js" />
      <script src="js/ext/ext-all.js" />
     
      <!-- Specify the app entry point class.                         -->
      <entry-point class='com.smart.client.Smart'/>
   
      <!-- Specify the application specific style sheet.              -->
       <stylesheet src='Smart.css' />                  
  <source path='client'/>
  <source path='shared'/>

</module>




JAVA:



package com.smart.client; 

 import com.google.gwt.core.client.EntryPoint;  
 import com.google.gwt.user.client.ui.Frame;  
 import com.gwtext.client.core.Position;  
 import com.gwtext.client.widgets.Panel;  
 import com.gwtext.client.widgets.TabPanel;  
 import com.gwtext.client.widgets.Viewport;  
 import com.gwtext.client.widgets.layout.FitLayout;  



public class Smart implements EntryPoint {

	/**
	 * This is the entry point method.
	 */
	   public void onModuleLoad() {  
		          Panel panel = new Panel();  
		          panel.setBorder(false);  
		          panel.setPaddings(15);  
		          panel.setLayout(new FitLayout());  
		    
		          TabPanel tabPanel = new TabPanel();  
		          tabPanel.setTabPosition(Position.BOTTOM);  
		          tabPanel.setResizeTabs(true);  
		          tabPanel.setMinTabWidth(115);  
		          tabPanel.setTabWidth(135);  
		          tabPanel.setActiveTab(0);  
		    
		          Frame google = new Frame("http://www.google.com");  
		    
		          Panel googlePanel = new Panel("Google");  
		          googlePanel.setLayout(new FitLayout());  
		          googlePanel.setIconCls("tab-icon");  
		          googlePanel.add(google);  
		    
		          Panel staticPanel = new Panel();  
		          staticPanel.setTitle("News");  
		          staticPanel.setAutoScroll(true);  
		          staticPanel.setHtml(getBogusMarkup());  
		    
		          tabPanel.add(googlePanel);  
		          tabPanel.add(staticPanel);  
		          panel.add(tabPanel);  
		    
		          Viewport viewport = new Viewport(panel);  
		      }  
		    
		      private static String getBogusMarkup() {  
		          return "AAA";  
		      }  
		 }  





CSS:


 .tab-icon {  
        background-image:url(images/tabs.gif ) !important;  
    }  





**Wyrzuca mi błąd:**


java.lang.NoClassDefFoundError: com/google/gwt/dev/GWTShell
Caused by: java.lang.ClassNotFoundException: com.google.gwt.dev.GWTShell
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
Exception in thread "main" 



Dziekuje za wszelka pomoc:)

0

Chciałem zastosowac w/w podpowiedz ale teraz mam blad ten sam tylko ze jeszcze nie moze znalezc klasy.

1 użytkowników online, w tym zalogowanych: 0, gości: 1