当我单击clean并进行构建以制作jar文件时,我面临一长串错误 我也试图取代它
import static com.sun.xml.internal.fastinfoset.alphabet.BuiltInRestrictedAlphabets.table;
与此
import static com.sun.xml.internal.fastinfoset.alphabet.BuiltInRestrictedAlphabets.*;
您能先谢谢我吗
E:\Lectures Nd Assimants\2nd semester\Project\RestaurantManagement\src\restaurantmanagement\CounterSale.java:8: error: package com.sun.xml.internal.fastinfoset.alphabet does not exist
import static com.sun.xml.internal.fastinfoset.alphabet.BuiltInRestrictedAlphabets.*;
E:\Lectures Nd Assimants\2nd semester\Project\RestaurantManagement\src\restaurantmanagement\CounterSale2.java:8: error: package com.sun.xml.internal.fastinfoset.alphabet does not exist
import static com.sun.xml.internal.fastinfoset.alphabet.BuiltInRestrictedAlphabets.*;
E:\Lectures Nd Assimants\2nd semester\Project\RestaurantManagement\src\restaurantmanagement\Delivery.java:8: error: package com.sun.xml.internal.fastinfoset.alphabet does not exist
import static com.sun.xml.internal.fastinfoset.alphabet.BuiltInRestrictedAlphabets.*;
E:\Lectures Nd Assimants\2nd semester\Project\RestaurantManagement\src\restaurantmanagement\Delivery2.java:8: error: package com.sun.xml.internal.fastinfoset.alphabet does not exist
import static com.sun.xml.internal.fastinfoset.alphabet.BuiltInRestrictedAlphabets.*;
E:\Lectures Nd Assimants\2nd semester\Project\RestaurantManagement\src\restaurantmanagement\Sales.java:8: error: package com.sun.xml.internal.fastinfoset.alphabet does not exist
import static com.sun.xml.internal.fastinfoset.alphabet.BuiltInRestrictedAlphabets.*;
E:\Lectures Nd Assimants\2nd semester\Project\RestaurantManagement\src\restaurantmanagement\deals.java:8: error: package com.sun.xml.internal.fastinfoset.alphabet does not exist
import static com.sun.xml.internal.fastinfoset.alphabet.BuiltInRestrictedAlphabets.*;
E:\Lectures Nd Assimants\2nd semester\Project\RestaurantManagement\src\restaurantmanagement\staff.java:8: error: package com.sun.xml.internal.fastinfoset.alphabet does not exist
import static com.sun.xml.internal.fastinfoset.alphabet.BuiltInRestrictedAlphabets.*;
E:\Lectures Nd Assimants\2nd semester\Project\RestaurantManagement\src\restaurantmanagement\user.java:8: error: package com.sun.xml.internal.fastinfoset.alphabet does not exist
import static com.sun.xml.internal.fastinfoset.alphabet.BuiltInRestrictedAlphabets.*;
Note: E:\Lectures Nd Assimants\2nd semester\Project\RestaurantManagement\src\restaurantmanagement\Login.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
8 errors
E:\Lectures Nd Assimants\2nd semester\Project\RestaurantManagement\nbproject\build-impl.xml:923: The following error occurred while executing this line:
E:\Lectures Nd Assimants\2nd semester\Project\RestaurantManagement\nbproject\build-impl.xml:263: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 0 seconds)
答案 0 :(得分:-3)
更改您的导入语句,
import com.sun.xml.fastinfoset.alphabet.BuiltInRestrictedAlphabets;