Spring + Gradle Web应用程序的Wildfly部署

时间:2018-07-10 18:12:16

标签: java spring spring-boot gradle

我正在使用带有gradle build的spring boot创建服务api,并尝试将wildfly将其部署到本地服务器上。

我通常可以将其作为intelliJ上的Spring应用程序运行,效果很好。 但是,当我尝试在wildfly上使用它时,它不起作用,更糟糕的是,它没有显示任何错误,部署是完全正常的,但是当我尝试访问它时,显示“ Forbidden”或“ Not Found”,就像我以前没有看到的那样。映射到网址的所有内容。

要把我的gradle.build放在这里。

public static final int drawable/abc_btn_check_to_on_mtrl_000=0x7f07002c;
public static final int drawable/abc_btn_check_to_on_mtrl_015=0x7f07002d;
public static final int drawable/abc_btn_radio_to_on_mtrl_000=0x7f07002e;
public static final int drawable/abc_btn_radio_to_on_mtrl_015=0x7f07002f;
public static final int drawable/abc_btn_switch_to_on_mtrl_00001=0x7f070030;
public static final int drawable/abc_btn_switch_to_on_mtrl_00012=0x7f070031;
public static final int drawable/abc_ic_star_half_black_16dp=0x7f070032;
public static final int drawable/abc_ic_star_half_black_36dp=0x7f070033;
public static final int drawable/abc_ic_star_half_black_48dp=0x7f070034;
public static final int drawable/abc_list_focused_holo=0x7f070035;
public static final int drawable/abc_list_selector_background_transition_holo_dark=0x7f070036;
public static final int drawable/abc_list_selector_background_transition_holo_light=0x7f070037;
public static final int drawable/abc_list_selector_disabled_holo_dark=0x7f070038;
public static final int drawable/abc_list_selector_disabled_holo_light=0x7f070039;
public static final int drawable/abc_scrubber_control_off_mtrl_alpha=0x7f07003a;
public static final int drawable/abc_scrubber_control_to_pressed_mtrl_000=0x7f07003b;
public static final int drawable/abc_scrubber_control_to_pressed_mtrl_005=0x7f07003c;
public static final int drawable/abc_scrubber_primary_mtrl_alpha=0x7f07003d;
public static final int drawable/abc_scrubber_track_mtrl_alpha=0x7f07003e;
public static final int drawable/abc_tab_indicator_mtrl_alpha=0x7f07003f;
public static final int drawable/abc_textfield_activated_mtrl_alpha=0x7f070040;
public static final int drawable/abc_textfield_default_mtrl_alpha=0x7f070041;
public static final int drawable/abc_textfield_search_activated_mtrl_alpha=0x7f070042;
public static final int drawable/abc_textfield_search_default_mtrl_alpha=0x7f070043;
public static final int drawable/common_google_signin_btn_icon_dark_disabled=0x7f070044;
public static final int drawable/common_google_signin_btn_icon_dark_focused=0x7f070045;
public static final int drawable/common_google_signin_btn_icon_dark_normal=0x7f070046;
public static final int drawable/common_google_signin_btn_icon_dark_pressed=0x7f070047;
public static final int drawable/common_google_signin_btn_text_dark_disabled=0x7f070048;
public static final int drawable/common_google_signin_btn_text_dark_focused=0x7f070049;
public static final int drawable/common_google_signin_btn_text_dark_normal=0x7f07004a;
public static final int drawable/common_google_signin_btn_text_dark_pressed=0x7f07004b;
public static final int drawable/notification_bg_low_normal=0x7f07004c;
public static final int drawable/notification_bg_low_pressed=0x7f07004d;
public static final int drawable/notification_bg_normal_pressed=0x7f07004e;
public static final int drawable/notify_panel_notification_icon_bg=0x7f07004f;
public static final int edit_query=0x7f070050;
public static final int end=0x7f070051;
public static final int end_padder=0x7f070052;
public static final int expand_activities_button=0x7f070053;
public static final int expanded_menu=0x7f070054;
public static final int home=0x7f070055;
public static final int homeAsUp=0x7f070056;
public static final int icon=0x7f070057;
public static final int icon_group=0x7f070058;
public static final int icon_only=0x7f070059;
public static final int ifRoom=0x7f07005a;
public static final int image=0x7f07005b;
public static final int img_prog_frame=0x7f07005c;
public static final int info=0x7f07005d;
public static final int layout/notification_template_part_chronometer=0x7f07005e;

在以前的工作中我需要它时,在webapp / WEB-INF / jboss-deployment-structure.xml下有以下内容

df_new = pd.DataFrame(np.random.randn(5,7), columns=[402.3, 407.2, 412.3, 415.8, 419.9, 423.5, 428.3])
wl     = np.array([400.0, 408.2, 412.5, 417.2, 420.5, 423.3, 425.0])

我忘记了什么吗?再说一次,它在运行时正常工作是对我的想法的一次springboot推广。

Ben现在已经尝试了很长时间,而且没有任何效果……有人可以给我一些启发吗?

0 个答案:

没有答案