I did. However with a fresh eclipse and java install I figured out how to fix it... Into project properties, unload the default java librairy and reload it as described in a forum.
On Wednesday, September 9, 2009, Eugene Kononov <[email protected]> wrote: > Did you follow the instructions in docs/JBookTraderSetup.Windows.Eclipse? > > On Tue, Sep 8, 2009 at 5:15 PM, Quentin Bossard <[email protected]> > wrote: > I am trying to make JBookTrader work on windows. However I have the following > errors when I build it (eclipse). I suspect this is related to the > Httpserver. Any idea how to fix this? > > Thx > > Description Resource Path Location Type > Access restriction: The constructor BasicAuthenticator(String) is not > accessible due to restriction on required library C:\Program > Files\Java\jre6\lib\rt.jar WebAuthenticator.java /JBookTrader/source/com/jbooktrader/platform/web line > 12 Java Problem > Access restriction: The method add(String, String) from the type Headers is > not accessible due to restriction on required library C:\Program > Files\Java\jre6\lib\rt.jar FileHandler.java /JBookTrader/source/com/jbooktrader/platform/web line > 32 Java Problem > Access restriction: The method add(String, String) from the type Headers is > not accessible due to restriction on required library C:\Program > Files\Java\jre6\lib\rt.jar FileHandler.java /JBookTrader/source/com/jbooktrader/platform/web line > 33 Java Problem > Access restriction: The method add(String, String) from the type Headers is > not accessible due to restriction on required library C:\Program > Files\Java\jre6\lib\rt.jar FileHandler.java /JBookTrader/source/com/jbooktrader/platform/web line > 34 Java Problem > Access restriction: The method add(String, String) from the type Headers is > not accessible due to restriction on required library C:\Program > Files\Java\jre6\lib\rt.jar FileHandler.java /JBookTrader/source/com/jbooktrader/platform/web line > 35 Java Problem > Access restriction: The method add(String, String) from the type Headers is > not accessible due to restriction on required library C:\Program > Files\Java\jre6\lib\rt.jar FileHandler.java /JBookTrader/source/com/jbooktrader/platform/web line > 36 Java Problem > Access restriction: The method add(String, String) from the type Headers is > not accessible due to restriction on required library C:\Program > Files\Java\jre6\lib\rt.jar WebHandler.java /JBookTrader/source/com/jbooktrader/platform/web line > 34 Java Problem > Access restriction: The method add(String, String) from the type Headers is > not accessible due to restriction on required library C:\Program > Files\Java\jre6\lib\rt.jar WebHandler.java /JBookTrader/source/com/jbooktrader/platform/web line > 35 Java Problem > Access restriction: The method add(String, String) from the type Headers is > not accessible due to restriction on required library C:\Program > Files\Java\jre6\lib\rt.jar WebHandler.java /JBookTrader/source/com/jbooktrader/platform/web line > 87 Java Problem > Access restriction: The method create(InetSocketAddress, int) from the type > HttpServer is not accessible due to restriction on required library > C:\Program > Files\Java\jre6\lib\rt.jar MonitoringServer.java /JBookTrader/source/com/jbooktrader/platform/web line > 21 Java Problem > Access restriction: The method createContext(String, HttpHandler) from the > type HttpServer is not accessible due to restriction on required library > C:\Program > Files\Java\jre6\lib\rt.jar MonitoringServer.java /JBookTrader/source/com/jbooktrader/platform/web line > 22 Java Problem > Access restriction: The method getFirst(String) from the type Headers is not > accessible due to restriction on required library C:\Program > Files\Java\jre6\lib\rt.jar WebHandler.java /JBookTrader/source/com/jbooktrader/platform/web line > 23 Java Problem > Access restriction: The method getRequestHeaders() from the type HttpExchange > is not accessible due to restriction on required library C:\Program > Files\Java\jre6\lib\rt.jar WebHandler.java /JBookTrader/source/com/jbooktrader/platform/web line > 23 Java Problem > Access restriction: The method getRequestURI() from the type HttpExchange is > not accessible due to restriction on required library C:\Program > Files\Java\jre6\lib\rt.jar WebHandler.java /JBookTrader/source/com/jbooktrader/platform/web line > 19 Java Problem > Access restriction: The method getResponseBody() from the type HttpExchange > is not accessible due to restriction on required library C:\Program > Files\Java\jre6\lib\rt.jar FileHandler.java /JBookTrader/source/com/jbooktrader/platform/web line > 39 Java Problem > Access restriction: The method getResponseBody() from the type HttpExchange > is not accessible due to restriction on required library C:\Program > Files\Java\jre6\lib\rt.jar WebHandler.java /JBookTrader/source/com/jbooktrader/platform/web line > 104 Java Problem > Access restriction: The method > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "JBookTrader" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jbooktrader?hl=en -~----------~----~----~----~------~----~------~--~---
