Changes between Initial Version and Version 1 of waue/2009/0817


Ignore:
Timestamp:
Aug 17, 2009, 5:13:58 PM (15 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2009/0817

    v1 v1  
     1
     2= hadoop 編譯 jsp =
     3
     4將 hadoop_home/src/webapp 底下的資料夾放到 Eclipse 去coding,會遇到一些error的提示:
     5
     6== XXX is not visible ==
     7
     8如: The method getFSImage() from the type FSNamesystem is not visible
     9如: The type TaskStatus is not visible
     10
     11即使已經將完整的classpath 引入編譯環境,但始終會告知 XXX is not visible.
     12
     13 * 原因: XXX在程式裡並非宣告成public ,因此即使引用了正確的jar檔到classpath,但非同一個package,因此該jsp的存取維度就無法讀到該類別或該方法
     14
     15